EmEditor (text editor) Forum Index
   Questions and Answers about EmEditor Core
     Search results - show only matches, hide the rest?
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
daviescj
Posted on: 10/8/2010 1:58 pm
Just popping in
Joined: 7/28/2010
From:
Posts: 5
Search results - show only matches, hide the rest?
Forgive me if this is covered elsewhere, but I didn't find it. One thing I would find useful is to be able to search a file and have all the matching lines shown, with the non-matching lines collapsed or hidden. I would find this handy when searching large code files, for example.

Is this possible? Thanks.
CrashNBurn
Posted on: 10/8/2010 2:12 pm
Just can't stay away
Joined: 4/8/2010
From:
Posts: 130
Re: Search results - show only matches, hide the rest?
That's an interesting idea, if the Output bar could be used for Search in the current file and/or all open files. As opposed to the current behaviour wherein you can only use the output bar if you do a Directory Search (Ctrl+Shift+F)
daviescj
Posted on: 10/9/2010 8:20 am
Just popping in
Joined: 7/28/2010
From:
Posts: 5
Re: Search results - show only matches, hide the rest?
I found a macro that does it in the Library section: "Title: Macro that extracts lines that contain the specified string". Does exactly what I want. Its reverse is also available (show non-matching lines).
CrashNBurn
Posted on: 10/9/2010 8:21 am
Just can't stay away
Joined: 4/8/2010
From:
Posts: 130
Re: Search results - show only matches, hide the rest?
Cool, I'll havta check it out.
Threaded | Newest First Previous Topic | Next Topic | Top


Register To Post
 
English čeština Deutsch español français italiano 日本語 한국어 Русский 简体中文 繁體中文