Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign
CC plugin interface redesign
Alpha:
--- Quote from: Alpha on October 05, 2013, 04:26:10 pm ---
--- Quote from: oBFusCATed on October 05, 2013, 11:02:58 am ---Have you tried running C::B with valgrind? ::)
--- End quote ---
Not tried valgrind yet, but I will now.
--- End quote ---
Tested, and got something around 2700 messages. I could not find any that had an obvious relation to this problem, though.
Jenna:
--- Quote from: Alpha on October 05, 2013, 07:14:05 pm ---Did you switch to the cc_interface branch? The files should be there.
--- End quote ---
I have it now, thanks.
I will see if I can find anything this evening.
Jenna:
You need to specify the eventsink in the Connect-function, otherwise the editor-control is used as eventsink, because you connect the event to it.
The correct function is called, but with an incorrect this-pointer and therefore the member variable that holds the timer also points to an incorrect location.
Instead of using the timer some undefined memory that belongs to the editor-control is used => crash.
Just add NULL, this to the parameter list of Connect (and Disconnect) in CCManager::OnEditorOpen ( and CCManager::OnEditorClose).
I'm not sure if it is really needed for Disconnect, but it does not hurd.
Alpha:
Thank you! Greatly appreciated. (I cannot believe I missed that... in fact, I was so certain I had tried it, and just about everything else. Maybe I was just coding too late at night :-\.)
Auto parenthesis after functions is now reimplemented. The only major visible component left to complete is the documentation popup.
oBFusCATed:
What about the symbol browser? Have it been separated from the CC plugin?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version