Author Topic: Close code completion on "space"?  (Read 16689 times)

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Close code completion on "space"?
« Reply #15 on: March 16, 2006, 12:33:52 pm »

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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Close code completion on "space"?
« Reply #16 on: March 16, 2006, 02:36:57 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: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Close code completion on "space"?
« Reply #17 on: March 16, 2006, 02:42:41 pm »
thanks Yiannis, Thomas and Morten
commited to rev 2200

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Close code completion on "space"?
« Reply #18 on: March 16, 2006, 08:33:54 pm »
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."

Offline kkez

  • Almost regular
  • **
  • Posts: 153
    • WinapiZone
Re: Close code completion on "space"?
« Reply #19 on: March 17, 2006, 07:12:20 pm »
Btw, shouldn't the code completion window also close on '(' or ')'?
I need to define a class constructor:
Code
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.