Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

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

(1/1)

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:

--- Code: ---TERM
TER
TE
T

--- End code ---

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.

Huki:

--- Quote from: oBFusCATed on September 22, 2018, 06:53:13 pm ---@Huki: If you want your patch to not be forgotten it is better to post it on sf.net as a ticket.

--- End quote ---
Ok, I've opened a ticket: https://sourceforge.net/p/codeblocks/tickets/740/

Navigation

[0] Message Index

Go to full version