notepad4 icon indicating copy to clipboard operation
notepad4 copied to clipboard

Find All more persistently

Open meteorquake opened this issue 3 years ago • 2 comments

Having all occurrences of something you've highlighted (such as a variable) is very useful, such as the Mark Occurrences or Find All. However, as soon as you move you lose the highlights, which is okay if you are just finding a single thing nearby, but often one wants them to remain for the period of some task, such as scrolling around tracing the places a variable is used and adjusting the code in those spots. The Find box currently has a "Find All" so can I suggest there is an option to highlight persistently so that moving the cursor doesn't then lose the highlights. In persistent mode if you do another Find All it should add to what is already there. A button or blue link could be used to clear the highlights (which if wished could be hidden if there are none to hide). In this suggestion it might work to move the Find All button below the Select All and put the options (persist, clear) directly under it... David

meteorquake avatar Feb 25 '22 09:02 meteorquake

Current workaround for this is check "Bookmark matched line", the better solution probably is separate find result window (issue #382).

zufuliu avatar Feb 25 '22 12:02 zufuliu

The quickest fix is adding a new find marker independent of current mark occurrences marker, which is only cleared when search string on Find or Replace dialogs changed or after manually click a "Clear" link on the dialog.

zufuliu avatar Feb 26 '22 06:02 zufuliu