Author Topic: [IncrementalSearch] [Patch] fix search history crowding (#740)  (Read 3584 times)

Offline Huki

  • Multiple posting newcomer
  • *
  • Posts: 95
[IncrementalSearch] [Patch] fix search history crowding (#740)
« on: September 22, 2018, 05:42:16 pm »
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:
Code
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
« Last Edit: September 23, 2018, 01:35:46 pm by Huki »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: [IncrementalSearch] [Patch] fix search history crowding
« Reply #1 on: September 22, 2018, 06:53:13 pm »
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!]

Offline Huki

  • Multiple posting newcomer
  • *
  • Posts: 95
Re: [IncrementalSearch] [Patch] fix search history crowding
« Reply #2 on: September 23, 2018, 01:36:41 pm »
@Huki: If you want your patch to not be forgotten it is better to post it on sf.net as a ticket.
Ok, I've opened a ticket: https://sourceforge.net/p/codeblocks/tickets/740/