News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Close code completion on "space"?

Started by MortenMacFly, March 15, 2006, 10:48:07 PM

Previous topic - Next topic

tiwag


Hi Morten,

could you plz test this patch, if it works ok for you,
http://tiwag789.front.ru/cb/cclistp.zip

additional to the Space-exits it has also the dualmonitor issue patched by thomas,

if it is ok, i can commit it to svn then

regards, tiwag

MortenMacFly

Quote from: tiwag on March 16, 2006, 12:33:52 PM
could you plz test this patch, if it works ok for you,
if it is ok, i can commit it to svn then
Works perfectly! I don't have a multi-monitor system but the "space" thing works. Thanks very much for your effort!
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

tiwag

thanks Yiannis, Thomas and Morten
commited to rev 2200

thomas

Now we only need to convince a Linux pro to write the OS-dependent stuff for the multi-monitor placement to work with Xinerama... it still only does a CenterOnScreen()under Linux, which is quite pathetic.

It should not be any harder than the Windows code (like... one syscall and adding up 3 numbers...), but I am absolutely clueless as far as X is concerned.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

kkez

Btw, shouldn't the code completion window also close on '(' or ')'?
I need to define a class constructor:
SafeArray[1]::SafeArray[2](...[3])

Although i suppose it should not pop up there (this is not the problem, i don't mind if it pop ups), the cc window gets closed at [1] when i type the first : of :: and it add a -> (again it's not the problem), then repopups and does not get closed when i type '(' at [2], then repopups with the possible overloaded constructors and does not get closed when i type ')' at [3].
Sometimes the reaction is different, ie at [3] it chooses the first variable declaration and close up.