Notepad3 icon indicating copy to clipboard operation
Notepad3 copied to clipboard

can notepad3 have 'find all' funtion to quick jump to the wanted context?

Open NewUserHa opened this issue 3 years ago • 11 comments

can notepad3 have 'find all' funtion to quick jump to the wanted context?

NewUserHa avatar Nov 03 '21 23:11 NewUserHa

Hello @NewUserHa , Have you tried "Focused view" ? 🤔

2021-11-04_094557

hpwamr avatar Nov 04 '21 08:11 hpwamr

don't know what the "Focused view" is for. why is it folded? the "mark occurrences" also do that and will not . but what about another window like notepad++?

NewUserHa avatar Nov 04 '21 13:11 NewUserHa

@NewUserHa : what is your detailed workflow for "find all: quick jump to context" ?

RaiKoHoff avatar Nov 08 '21 14:11 RaiKoHoff

image right click any one result from the blow window, the editor will directly jump to the position(instead of line). but notepad3 and vscode and etc. currently can only jump one by one by 'find next', or manually scroll to find the object

NewUserHa avatar Nov 08 '21 15:11 NewUserHa

the blow window is not designed well, but the idea works convenient. probably is that it can show you context without needing you scroll to that part

NewUserHa avatar Nov 08 '21 15:11 NewUserHa

I think @hpwamr is right: The "Focused View" of "Mark All Occurrences" is just the right workflow for you. You have also the capability of color labeling different pattern occurrences (Menu->View->Display->View Mode->Highlight) for each focused view.

image

RaiKoHoff avatar Nov 08 '21 18:11 RaiKoHoff

"Focused View" hides the context of that search key until you click to expand them. users need more clicks to expand and scroll to view by the user themselves otherwise is unable to see the thing.

but the split window has no this issue because it can bring you to the right place with only one click in that window without affecting viewing the original texts.

imaging you are search variableA.variableB in a code file, it is pain to find the wanted result with all content is folded. or you can't find the content you want until you expand them one by one because they are folded

NewUserHa avatar Nov 08 '21 21:11 NewUserHa

Using Menu->View->Mark Occurrences->Use Bookmarks too will create bookmarks for all marked occurrences, which can easily be scrolled to w/o losing the current caret position. Menu->View->Display->View Mode->Bookmark will not fold the focused view, only bookmark the occurrences.

RaiKoHoff avatar Nov 08 '21 23:11 RaiKoHoff

ok.. after using that two options, no special thing was found, isn't it the same with just the only 'mark occurrence` and without the 'focused view'? F2 equals 'find next', shift+F2 equals 'find previous'.

the important is the split window can show all results and make it able to jump to the position quickly without many 'find next' or scroll manually and slowly to find/check if there's any highlighted part in the current part of the document. Because notepad3 currently also has no mark on the scroll like the vscode, which lets you know roughly where has the result and then can manually click at scroll to go to and then find the result. But the split window can let you directly go to the position of the result and it's one step less than vscode

NewUserHa avatar Nov 08 '21 23:11 NewUserHa

That is right, but this is the workflow in NP3 for inspecting "all findings". So, your feature request is: "Want to have a Split-Window (same document, FR #2577 ) for quick inspection (jumping occurrences, editing other parts of the document)". This would be an addon on this FR. Putting it to the Dev-Backlog.

RaiKoHoff avatar Nov 09 '21 07:11 RaiKoHoff

yes, but the split-window is used for find-all, not for comparing files like the https://github.com/rizonesoft/Notepad3/issues/2577

I guess notepad3 at least should need the marks on scroll bar like vscode for the found result, even if you don't like this feature

NewUserHa avatar Nov 09 '21 12:11 NewUserHa