News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

[IncrementalSearch] [Patch] fix search history crowding (#740)

Started by Huki, September 22, 2018, 05:42:16 PM

Previous topic - Next topic

Huki

Hi,

I'm submitting a patch for a fix / improvement in the IncrementalSearch plugin. The plugin records every keystroke in history, which means typing "TERM" leaves the following entries in search history:

TERM
TER
TE
T


We now try to be a bit smarter by only adding the term to history upon:
- leaving focus from the text control
- using prev / next / clear buttons or shortcut keys

Patch is available here.

Huki

oBFusCATed

Any user of incremental search willing to test this and post if it is improvement?

@Huki: If you want your patch to not be forgotten it is better to post it on sf.net as a ticket.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Huki