Annoying find-next key action after last match
-
Anybody else annoyed by this scenario?:
Find window open
Wrap unchecked
Focus not in find window but in editing tab
Using keycombo for FindNext (or FindPrev)
After last (or first) occurrence (but I don’t know it is that) I execute FindNext (or FindPrev) again, get the error beep, and…here’s the frustrating part: Focus is switched back to the Find window -
welcome to the notepad++ community, @Alan-Kilborn
😂😂😂😂😂
(sorry, i somehow had an inevitable urge to do that 😉 )you are correct, nice find and intriguing.
i didn’t notice that before, as i always have wrap around enabled.
if wrap around is disabled, and you put your editor window in focus, then search with f3 or shift+f3, as soon as the last/first find is reached, the next f3/shift+f3 press will beep and focus on the find window.
the only 2 ways i have found so far to circumvent this, are:
close the find window completely and browse with f3/shift+f3. (it will still beep, but not reopen the find window)
or keep wrap around enabled. -
Also, in find-replace window, Alt-Pgup takes to first “previous entry” in the box, and Alt-PgDn takes to last “previous entry” in the box.
Whereas other software mostly use Alt-Pgup to go to previous tab (from replace pan to find pan), and Alt-PgDn to go to next tab (from find pan to replace pan).
this disorients. Industry standard keyboard shortcuts should be used.
-
usually, if you are at the find or replace window and have either the find what, or replace with field active, page up and page down (without the alt) will show you the first or the last entry of this list.
the only thing i know of, where alt+page up/down is used as a keyboard shortcut by default, is the compare plugin, to find the next or previous difference.
but these shortcuts will not be active unless you have compare enabled and the find/replace window is either closed, or not active in front. -
btw: notepad++ currently does not allow any keyboard shortcuts at the find window at all, except for default cursor or page up/down movements, and contextual shortcuts, like alt+f to jump to the find what field and select it’s content, or alt+L for the same on the replace with field.
but i agree with you that it would be cool to have them.
for example ctrl+tab to switch to the next tab, shift+ctrl+tab to switch to the previous tab (like in safari, internet explorer, chrome and edge)
or that at least the f3 and shift+f3 for find next/previous are working if the find window is in focus.
-
@Meta-Chuh said:
or that at least the f3 and shift+f3 for find next/previous are working if the find window is in focus.
Possibly interesting related thread: https://notepad-plus-plus.org/community/topic/15023/f3-shift-f3-as-aliases-for-find-next-previous-while-find-dialog-is-active
@V S Rawat said:
in find-replace window, Alt-Pgup takes to first “previous entry” in the box, and Alt-PgDn takes to last “previous entry” in the box.
I don’t see the Alt key having influence here. As Meta said, only PgUp / PgDown do something. If I add Alt to either of them, nothing happens.
-
@Meta-Chuh said:
usually, if you are at the find or replace window and have either the find what, or replace with field active, page up and page down (without the alt) will show you the first or the last entry of this list.
the only thing i know of, where alt+page up/down is used as a keyboard shortcut by default, is the compare plugin, to find the next or previous difference.
but these shortcuts will not be active unless you have compare enabled and the find/replace window is either closed, or not active in front.yes, compare plugin was installed.
I checked the settings of compare plugin and there was no mention of it capturing any keyboard shortcut. That is bad ethics. They should have mentioned their keyboard shortcuts and should allow users to change of disable that.
Anyway, I am so fed up with find-replace lack of navigation control, that I promptly uninstalled Compare plugin through plugin Admin.
But I still find Alt-PgUP-PgDn showing first-last previous entry. npp had automatically restarted after uninstall to that is not the act causing the problem.
-
@Alan-Kilborn said:
@Meta-Chuh said:
or that at least the f3 and shift+f3 for find next/previous are working if the find window is in focus.
Possibly interesting related thread: https://notepad-plus-plus.org/community/topic/15023/f3-shift-f3-as-aliases-for-find-next-previous-while-find-dialog-is-active
@V S Rawat said:
in find-replace window, Alt-Pgup takes to first “previous entry” in the box, and Alt-PgDn takes to last “previous entry” in the box.
I don’t see the Alt key having influence here. As Meta said, only PgUp / PgDown do something. If I add Alt to either of them, nothing happens.
No, I am not saying that this particular combination is doing that.
I am just saying that through using MS Word and several other software, I am used to use Alt PgUp for Previous pane and Alt PgDn to go to next pane.
Not just editor, that is even windows default for all settings multi-pane windows.
So, when I press that in npp, different things happen that is disturbing.
Maybe without alt also, same thing is happening.
-
@V-S-Rawat said:
I checked the settings of compare plugin and there was no mention of it capturing any keyboard shortcut. That is bad ethics. They should have mentioned their keyboard shortcuts and should allow users to change of disable that.
Well, you are right, it should be mentioned, but most of Notepad++ flies sort of lightly on the documentation, so…
After installing any plugin, you can go to the Shortcut Mapper and see what keycombos you loved for something else have been hijaaked.