* * *

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

tudi_x

  • Full Member
  • ***
  • Posts: 245
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 »

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 4318
    • 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

  • Full Member
  • ***
  • Posts: 245
Re: Autocomplete Navigation - Up and Down Arrow Buttons
« Reply #2 on: July 11, 2017, 05:05:39 pm »
thank you!

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus