Menu

#231 Make completion dialogs use Line up/down shortcuts

open
None
5
2011-12-06
2011-03-27
Anonymous
No

Hi,

It would be really useful to be able to use my Line up/Line down shortcuts to choose a selection in the completion popups. I use a vi-esque keybinding scheme, so taking my fingers off the home row when typing feels awkward.

Actually, to extend the request, it would be nice to be able to use text area navigation shortcuts (prev/next char, line up/down, select, etc.) in QuickNotepad and the Find dialog.

Thanks,
Todd

Discussion

  • Anonymous

    Anonymous - 2011-03-27

    Looking at CompletionPopup (I don't know how extensively it's used), it seems possible that instead of switching on keyCodes:

    switch(e.getKeyCode())
    {
    case KeyEvent.VK_UP:
    moveRelative(-1);
    e.consume();
    break;
    case KeyEvent.VK_DOWN:
    moveRelative(1);
    e.consume();
    break;
    ...

    , the popup could register as a shortcut listener for the "logical" line up instead of the "physical" key press.

     
  • Alan Ezust

    Alan Ezust - 2011-12-06
    • labels: 1026105 -->
    • assigned_to: nobody --> dionjwa
     
  • Alan Ezust

    Alan Ezust - 2011-12-06

    Perhaps this can be done in the Completion plugin, which will provide a replacement/enhanced completion popup.

     
  • Dion Amago

    Dion Amago - 2011-12-10

    I can add this.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.