Abdelrazak Younes wrote:
Stefan Schimanski wrote:
Hi!

I want to bring up this issue again as it is not solved yet. The problem is simple: TAB is used for completion, but also for jumping to the next cell in a table. So it's a key conflict.

AFAIK TAB is quite common for completion and therefore intuitive for users, but probably also for jumping in a table.

Well, this is not exactly true as, in conventional word processors (OO, MSWord, etc), TAB is used for formatting purpose when used in text and for cell jumping in table (you have to use Ctrl-tab to have tabulation). I am not suggesting that we should do the same but that'd be the least surprise behavior for a newbie.


There are also other approaches like in OpenOffice for example: they use enter to accept the completion, but I don't see how to cycle through the alternatives.

With the up/down arrow keys?

I never got used to OpenOffice's completion. For me it's pretty annoying.

Xcode on Mac uses Escape to open the popup, but also TAB to complete. Escape is strange in the beginning, but you get used to it.

Qt appends the completion as selection. So if you continue typing, the selection (i.e. = completion) is replaced with the typed text. To accept the completion, you can move the cursor to remove the selection. This approach does not work with the iterative completion up to the end of the unique part. I don't really like it either.

So what are the opinion about this issue? I agree with Abdel that it should be solved for 1.6, but I don't see how without making completion less intuitive.

Here's a proposal:

- Use the right arrow key instead of the TAB key for the initial combo popup.

Sorry, I meant 'Alt-right arrow' here. right arrow should of course be reserved for navigation.


- Use the down/up arrow and/or TAB to select another suggestion. As long as the completion combo, it is OK to let it have precedence for the TAB key.
- Use the right arrow to accept the currently selected
- Continue typing if you don't want to accept the current selection.
- Use the left arrow to dismiss the completion combo.

The only drawback of this proposal compared to the current TAB based one is that the TAB ley is closer to the character keys than the arrow keys.

Abdel.




Reply via email to