Recent

Author Topic: [SOLVED] Autocomplete Navigation - Up and Down Arrow Buttons  (Read 3254 times)

tudi_x

  • Hero Member
  • *****
  • Posts: 532
hi All,
this is a feature i found in LiteIDE.
in autocomplete of a method when the user is presented with let us say 4 options: a, b, c, d.
if the user needs option d he has the option of pressing the down arrow several times to select the d option.

please advise if it would be possible to actually use the up arrow that will go down as there is no upper value above a.

thank you
« Last Edit: July 11, 2017, 05:05:55 pm by tudi_x »
Lazarus 2.0.2 64b on Debian LXDE 10

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9794
  • Debugger - SynEdit - and more
    • wiki
Re: Autocomplete Navigation - Up and Down Arrow Buttons
« Reply #1 on: July 11, 2017, 04:27:53 pm »
It would need to be optional, since probably for some people this would be irritating.

In this case adding an option would be more work than the feature...
Though still: patches welcome.

Yet you may not need it.

Try ctrl-down. that gets to the end of the list.

Also try home/end key.
And you can use page up/down too.

--------
the code is in components\synedit\syncompletion.pas
TSynBaseCompletionForm.KeyDown

you can always modify your own copy.

tudi_x

  • Hero Member
  • *****
  • Posts: 532
Re: Autocomplete Navigation - Up and Down Arrow Buttons
« Reply #2 on: July 11, 2017, 05:05:39 pm »
thank you!
Lazarus 2.0.2 64b on Debian LXDE 10

 

TinyPortal © 2005-2018