Page 1 of 1

Content completion hovers trapping up & down arrow keys

Posted: Wed Jul 19, 2006 7:28 pm
by pmonks
G'day,

By default the content completion windows trap the up and down arrow keys (and use them for scrolling through the list of content completion suggestions), making it very difficult to move the cursor around the edit window.

Cheers,
Peter

Posted: Thu Jul 20, 2006 9:44 am
by sorin_ristache
Hello,

If you want to move the cursor in other location of the editor using the keyboard instead of move up and down in the content completion window just press first the right arrow key, the left arrow key or the Esc key and the content completion window is removed. If the content completion window is visible the up arrow key and the down arrow key always move the selection in this window. This is standard behavior for a content completion window.

Regards,
Sorin

re: Content completion hovers trapping up & down arrow k

Posted: Tue Aug 01, 2006 11:24 pm
by pmonks
I'd rather it if the code completion window didn't automatically get the keyboard focus. The code completion behaviour in Eclipse is a good example of how this can work effectively and unobtrusively.

Cheers,
Peter

Posted: Wed Aug 02, 2006 10:56 am
by sorin_ristache
Hello,

If you disable the automatic content completion in Options -> Preferences -> Editor / Content Completion -> Use content completion and press Ctrl + Space when you want the content completion window you get the same behavior as in Eclipse.

Regards,
Sorin

e: Content completion hovers trapping up & down arrow k

Posted: Wed Aug 09, 2006 5:11 am
by pmonks
Perfect! Thanks Sorin!

Cheers,
Peter

Posted: Wed Aug 09, 2006 7:52 pm
by pmonks
It appears that this solution only works in the standalone version of <oXygen/> - if I follow the same instructions for the Eclipse version content completion is disabled completely (Ctrl+Space does nothing).

Is this the expected behaviour?

Cheers,
Peter

Posted: Thu Aug 10, 2006 9:54 am
by sorin_ristache
Yes it is expected.

Regards,
Sorin

Posted: Sun Aug 13, 2006 10:58 pm
by pmonks
This is expected behaviour for the Eclipse plugin, even though the standalone version of oXygen XML doesn't work the same way (ie. I can manually call up content completion proposals using Ctrl+Space, but only in the standalone version)?

Cheers,
Peter

Posted: Sun Aug 13, 2006 11:16 pm
by george
Hi Peter,

AFAIK Eclipse does not distinguish between content completion on demand (activated by CTRL+Space) and content completion activated by some trigger character. In the standalone version we have this distinction, thus the different behavior.

Best Regards,
George