2 problems with function help/Code Completion
Posted: Thu Nov 15, 2012 2:42 pm
Hi...
Today I spotted 2 problems with the function help/Code Completion (eg. when you hit CTRL+SPACE to complete a function you have started typing). I am running most recent Codelite from SVN (rev 5945) on windows 7 64bit.
Problem 1: Jumping yellow help box
When I type the beginning of of a symbol name and hit CTRL+SPACE the nice completion help pops up. One can scroll using the cursor keys. For the current highlighted element a yellow help box opens up showing some help extracted from headers. So far so good. BUT: Sometimes it jumps from the left to the right side of the main help box. (BTW: I am running in a dualscreen configuration maybe this problem has something to do with it.)
Example1: left of the box Example2: right to the box This is a "bit" distracting. Especially when you move with the cursor thru the main box. The yellow box always jumps from left to right and back. It appears to me that Codelite first tries to place the yellow box always left to the main box. Only if the place is too small it jumps to the right side. Wouldn't it be better to always open the yellow box in the bigger side of the main box - independant of left and right?
EDIT: I started to explore the code now. cc_box_tip_window first tries to place to the right if not possible go to the left. It appears that it is only "seeing" my left monitor not that the desktop also extends to the right screen.
Problem 2: Incomplete help shown
Sometimes it happens that the help extracted from the function header is cutted off.
This appears to be dependant on the string I try to complete.
Example 1:
In my case I type OVWebRocke<CTRL+SPACE>. This happens: The help is cut off befor the description of the parameters.
Example 2:
In my case I type OVWebRocket_Add<CTRL+SPACE>. This happens:
The help is NOT cut off (Just the snapshot is cut off here in the forum).
Why is this happening? Why is it depending on the text I try to complete?
Thanks for your help,
Roland
Today I spotted 2 problems with the function help/Code Completion (eg. when you hit CTRL+SPACE to complete a function you have started typing). I am running most recent Codelite from SVN (rev 5945) on windows 7 64bit.
Problem 1: Jumping yellow help box
When I type the beginning of of a symbol name and hit CTRL+SPACE the nice completion help pops up. One can scroll using the cursor keys. For the current highlighted element a yellow help box opens up showing some help extracted from headers. So far so good. BUT: Sometimes it jumps from the left to the right side of the main help box. (BTW: I am running in a dualscreen configuration maybe this problem has something to do with it.)
Example1: left of the box Example2: right to the box This is a "bit" distracting. Especially when you move with the cursor thru the main box. The yellow box always jumps from left to right and back. It appears to me that Codelite first tries to place the yellow box always left to the main box. Only if the place is too small it jumps to the right side. Wouldn't it be better to always open the yellow box in the bigger side of the main box - independant of left and right?
EDIT: I started to explore the code now. cc_box_tip_window first tries to place to the right if not possible go to the left. It appears that it is only "seeing" my left monitor not that the desktop also extends to the right screen.
Problem 2: Incomplete help shown
Sometimes it happens that the help extracted from the function header is cutted off.
This appears to be dependant on the string I try to complete.
Example 1:
In my case I type OVWebRocke<CTRL+SPACE>. This happens: The help is cut off befor the description of the parameters.
Example 2:
In my case I type OVWebRocket_Add<CTRL+SPACE>. This happens:
The help is NOT cut off (Just the snapshot is cut off here in the forum).
Why is this happening? Why is it depending on the text I try to complete?
Thanks for your help,
Roland