When you perform a search of a bunch of files in Notepad++, if it finds the text you were looking for in the same line multiple times, the search results window will display the same line multiple times, with each different instance highlighted.

Is there a way to toggle that functionality? Sometimes it is nice to have, but other times i would like it turned off.


To answer the question there is not that functionality, but it would be a good idea. Feature requests for Notepad++ can be submitted through IdeaTorrent.

A work around is to use a regular expression that swallows the rest of the line. For example is you want to find lines containing abc you can search for '.*abc.*' under regular expressions and that will find every line with abc but will only list it once.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.