Two search boxes each View
-
Good day!
My question is whether I can keep a search box each view in parallel. I often have to search for separate things in both views and it would be a great relief if I didn’t have to type everything twice every time.
Thanks!Like the pic attachment.
-
@Michael-Döring Actually this will not be supported in N++ but you can check with MultiReplace Plugin here you can add more search strings in a list and you can switch by enabling or disabling between different search strings. With that you have everything in one window and on top you can save your search list for further use.
-
Or, you could use Notepad++ 's default Find window for one view and a plugin that does searching for the other view.
-
Or, you could consider using multiple instances of Notepad++, and thus you could have two Find windows (one belonging to each instance) open concurrently.
-
@Michael-Döring said in Two search boxes each View:
My question is whether I can keep a search box each view in parallel. I often have to search for separate things in both views and it would be a great relief if I didn’t have to type everything twice every time.
One option is to take advantage of Notepad++'s bookmarking feature. Use Ctrl-M to pull up the
Mark
dialog box and enable theBookmark line
checkbox. Do the first search as a “Mark”.Switch to the Find tab and enter the second pattern you want to search for and do the search.
Close the find/Replace/…/Mark box.
Now you can use the
F2
function key to jump to the next bookmarked line (the first pattern you searched for) and theF3
function to jump to instances of the second pattern.Shift+F2
andShift+F3
both work and will go to the previous pattern 1 or pattern 2 as desired. Ctrl-F2 will toggle bookmarks on a line. I like this as I can do a mark to bookmark lines in a file I. As I then visually inspect the lines and if I no longer need to deal with that item I doCtrl-F2
to switch the bookmark on that line off. The marked highlighter makes it easy for me to see where on the line my search had matched.Also, I don’t know if you are aware that the
Find what
field in search box is a drop down list of the most recent searches. Click the˅
down arrow at the right side of the Find what field. You don’t need type everything twice but instead can pick out recent things you have searched for from the drop down list.