Menu

Ctrl+F3 should remember the search

2007-03-27
2012-11-13
  • Nobody/Anonymous

    I have a feature request: Every other programmer's editor works so that when you first select a word and press Ctrl+F3, then pressing just F3 does the search again.

     
    • steakhacher

      steakhacher - 2007-03-28

      I am not sure that it is the best to change it in notepad++ but you can change shortcut mapper for volatil search and set it to F3

       
      • dnk.nitro

        dnk.nitro - 2008-11-08

        That behavior is really annoying. I can change shortcut mapper for volatil search and set it to F3. But it doesn't resolve the problem - the majority of editors uses the same behavior: once ctrl+f3 is pressed while some text is selected - that text can be searched again using f3 no matter something is selected or not.

        Mb it would be easy to add some option to support both behavior (both Notepadd++ and _default_ one)?

         
    • Nobody/Anonymous

      Hi,

      I'd also appreciate if the Ctrl+F3-Search would remember what to search.

      And I suppose, steakhacher did misunderstand the question.

      Let me explain it:
      If I want to search all appearances of e.g. "$userdata" I mark it and use Ctrl+F3.
      Notepad++ then finds the next appearance of $userdata.
      Them I go to the line above to this line with $userdata do edit my code.
      After having edited my code I want to search for the next appearance of $userdata.
      How to do it without going back to the place where it was found last in order to mark it to bo able to perform the Ctrl+F3-Search once more?

      I'd see 2 ways to do it:
      1.
      F3 always repeats the last search irrespective of its kind - the Ctrl+F or the Ctrl+F3 and not only the last Ctrl-F-Search (like e.g. wscite does)
      or
      2.
      there is another shortkey to perform the last Ctrl+F3-Search even if the last searched text isn't marked.
      It could be Ctrl+F3 too, because now it is unused if there is no marked text. This would be a smart solution: if there is marked text, Ctrl+F3 searches for the next appearance of the marked text and if there is no marked text, Ctrl+F3 searches for the text beeing marked last.

      Do you see any chance to get this feature?

      Stanley

       
    • steakhacher

      steakhacher - 2007-08-15

      Yes it is. I have misunderstand the remark, and I agree with you.

       
    • Nobody/Anonymous

      But I don't want the regular F3 to change the search to the selected text. Only Ctrl+F3 should do it. All other editors work this way.