Lazarus

Miscellaneous => Suggestions => Topic started by: tudi_x on July 11, 2017, 01:37:05 pm

Title: [SOLVED] Autocomplete Navigation - Up and Down Arrow Buttons
Post by: tudi_x on July 11, 2017, 01:37:05 pm
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
Title: Re: Autocomplete Navigation - Up and Down Arrow Buttons
Post by: Martin_fr 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.
Title: Re: Autocomplete Navigation - Up and Down Arrow Buttons
Post by: tudi_x on July 11, 2017, 05:05:39 pm
thank you!
TinyPortal © 2005-2018