Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

Patch: function arguments added to autocomplete tooltip

(1/24) > >>

p2rkw:
Hi,
tonight I wrote small patch that adds functions arguments to autocomplete:

As you can see types and return value will be removed.
I modify src/plugins/codecompletion/codecompletion.cpp and src/sdk/wxscintilla/src/scintilla/src/ScintillaBase.cxx

Maybe it will be useful for someone, so enjoy.
(I hope this is good section for posting patches?)

oBFusCATed:
Looks good, I'll test tomorrow :)

ollydbg:
Question: Why you hack the scintilla code? ;)

PS: should be posted/moved to CodeCompletion redesign

p2rkw:
ollydbg: I thought that scintilla is only place that can I modify selected text, but I was wrong. Now I see that I should insert this code in EditorEventHook. I forgot about wxEVT_SCI_AUTOCOMP_SELECTION event. I'll fix it later.

MortenMacFly:

--- Quote from: p2rkw on November 26, 2012, 04:03:48 am ---Now I see that I should insert this code in EditorEventHook. I forgot about wxEVT_SCI_AUTOCOMP_SELECTION event. I'll fix it later.

--- End quote ---
Definitely. wxScintilla should not be touched for such reasons.

Navigation

[0] Message Index

[#] Next page

Go to full version