Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

fixing EVT_PROJECT_OPEN

<< < (3/5) > >>

rickg22:

--- Quote from: Pecan on June 28, 2007, 04:36:06 pm ---

--- Code: ---10:35:10: [1434125ms] EVT_WORKSPACE_CHANGED[]
10:35:10: [1434125ms] EVT_WORKSPACE_CHANGED[]

--- End code ---

--- End quote ---

WHOA! That EVT_WORKSPACE_CHANGED should only happen once!  :shock:
I need to look into that...

Pecan:

--- Quote from: rickg22 on June 28, 2007, 05:40:24 pm ---Well, I'm suggesting a workaround. Try adding a queue to your plugin.

--- End quote ---

Yes, I have plenty of workarounds. The best of which is to simply use the editor/project hooks. They occur in the correct order.

Just thought it'd be nice to actually have a SDK that's dependable.

But if not... we'll learn and use the hack-arounds.

thomas:

--- Quote from: rickg22 on June 28, 2007, 05:46:42 pm ---
--- Quote from: Pecan on June 28, 2007, 04:36:06 pm ---

--- Code: ---10:35:10: [1434125ms] EVT_WORKSPACE_CHANGED[]
10:35:10: [1434125ms] EVT_WORKSPACE_CHANGED[]

--- End code ---

--- End quote ---

WHOA! That EVT_WORKSPACE_CHANGED should only happen once!  :shock:
I need to look into that...


--- End quote ---
This is a long known condition (see the other thread). It happens for several events.
PLEASE do not add another workaround for this.

rickg22:

--- Quote from: thomas on June 28, 2007, 08:37:14 pm ---This is a long known condition (see the other thread). It happens for several events.
PLEASE do not add another workaround for this.

--- End quote ---

What other thread?

MortenMacFly:

--- Quote from: rickg22 on June 28, 2007, 09:01:30 pm ---What other thread?

--- End quote ---
I believe he meant this one:
http://forums.codeblocks.org/index.php/topic,6300.msg48355.html#msg48355

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version