SOLVED? Display search results in different windows

Make a request or discuss new features.
Post Reply
Qihe Pan
Posts: 16
Joined: 30 Apr 2024 05:49

SOLVED? Display search results in different windows

Post by Qihe Pan »

Hi, could we consider supporting the display of search results in different windows? Users could open a new window for each search and have the new results appear in the active search result window
Qihe Pan
Posts: 16
Joined: 30 Apr 2024 05:49

Re: Display search results in different windows

Post by Qihe Pan »

So that users can create multiple search result windows and select one for each search
User avatar
Rickard Johansson
Site Admin
Posts: 6783
Joined: 19 Jul 2006 14:29

Re: Display search results in different windows

Post by Rickard Johansson »

If you right click inside the search result window - you'll find an option to "keep old results when running a new search". This allows you to have multiple search results in the same view.

I'm not fond of the idea of having multiple search result windows...
Qihe Pan
Posts: 16
Joined: 30 Apr 2024 05:49

Re: SOLVED? Display search results in different windows

Post by Qihe Pan »

This function is extremely helpful for analyzing log files. Sometimes, many lines match the search pattern, resulting in search results that each contain hundreds of lines. This means I have to switch between search results repeatedly by folding and unfolding the results. If we could have an individual window for each search result, it would be much easier to navigate and review the large amount of data.
User avatar
pjj
Posts: 2236
Joined: 13 Oct 2009 13:48
Location: Kraków, Poland

Re: SOLVED? Display search results in different windows

Post by pjj »

I don't fully understand your use case, so I may miss the point entirely, but just perhaps:
* open your logs as normal files in separate tabs
* use Search + "Highlight all items found" > Find All, or
* use RMC or menu Search > Highlight > Highlight expression (it can use regex), so you will have permanently marked search results

You'll be switching between tabs, not folding/unfolding search results, which should be more convenient. You could also file feature request to temporarily hide lines without highlights, giving you ability to see only "found" lines (no idea if that would be helpful for you, though).
Alium tibi quaere fratrem; hic, quem tuum putas, meus est. Titus Flāvius Caesar Vespasiānus Augustus
Qihe Pan
Posts: 16
Joined: 30 Apr 2024 05:49

Re: SOLVED? Display search results in different windows

Post by Qihe Pan »

The attached file is just an example; the actual file may be much larger. When searching for specific lines, such as lines 18 and 88 in the ddd results and other lines in the bbb results, I have to repeatedly expand and collapse the ddd and bbb results because the other results are always collapsed.
Attachments
multi-search.PNG
multi-search.PNG (23.91 KiB) Viewed 2735 times
multi-search-002.PNG
multi-search-002.PNG (8.29 KiB) Viewed 2735 times
multi-search-003.PNG
multi-search-003.PNG (9.26 KiB) Viewed 2735 times
Qihe Pan
Posts: 16
Joined: 30 Apr 2024 05:49

Re: SOLVED? Display search results in different windows

Post by Qihe Pan »

The actual file may be much larger, which means that the lines matching the search pattern could be far apart from each other.
Post Reply