Community
    • 登入

    F3/Shift-F3 as aliases for Find Next/Previous while find dialog is active

    已排程 已置頂 已鎖定 已移動 General Discussion
    3 貼文 3 Posters 2.2k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • Steven BushS
      Steven Bush
      最後由 編輯

      When the editor window is active, the user can press F3 to cycle to the next find result or Shift-F3 to cycle to the previous result. However, if the find window is currently active, F3/Shift-F3 do not work and instead “enter”/Shift-“Enter” perform the same action. I’d suggest adding the F3/Shift-F3 keyboard shortcuts to the Find dialog as aliases for Enter/Shift-Enter

      As an example of this:

      1. Within a document launch the find dialog (Ctrl-F)
      2. Type in some text to search that appears multiple times within the text
      3. Press Enter. The text is found
      4. Press Enter or Shift-Enter. The next or previous text is found
      5. Now press F3 or Shift-F3: nothing happens
      6. click on the document window (depending on your dialog settings, the find dialog becomes inactive and somewhat transparent)
      7. Now press F3 or Shift-F3: The next or previous text is found

      It would be nice if the Find Next/Previous shortcut were consistent between both states.

      Scott SumnerS 1 條回覆 最後回覆 回覆 引用 3
      • Scott SumnerS
        Scott Sumner @Steven Bush
        最後由 編輯

        @Steven-Bush

        Well, one problem with this idea is that F3 and Shift-F3 are not “hard keys” but are soft-remappable via the Shortcut Mapper. For those that don’t keep F3 and Shift-F3 mapped as default, having them tied this way in the Find family of windows isn’t helpful.

        It is not a bad idea, in general, but it opens the door to the expectation that other editing functions (and their keymappings) work on the Find what and Replace with fields, etc. and this is just not the case. The editor window is Scintilla-based with custom keymap capability, and the Find window controls are pretty much basic Win32 common controls (with their inherent limitations).

        1 條回覆 最後回覆 回覆 引用 1
        • PeterJonesP PeterJones unlocked this topic on
        • Alan KilbornA
          Alan Kilborn
          最後由 編輯

          Notepad++ 8.6.6 will allow F3 and Shift+F3 to work while the Find or Replace windows have input focus.
          See point #6 here: https://community.notepad-plus-plus.org/topic/25742/notepad-v8-6-6-release-candidate

          1 條回覆 最後回覆 回覆 引用 3
          • 第一個貼文
            最後的貼文
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors