• Login
Community
  • Login

Multi-editing and F3

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
3 Posts 2 Posters 220 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    Paul Wormer
    last edited by Aug 22, 2021, 1:12 PM

    I want to change selectively a given string to an other given string (not everywhere in the file, but depending on context).

    I know that I can use multi-edit (ctrl+left-mouse-click) and place a cursor in front of the strings to be changed. I also know that I can find the next string by hitting F3. However, F3 turns off the multi-edit cursors.

    If F3 would not do that, a very convenient procedure for a selective change would be jumping from string to string by F3, marking the strings to be changed by ctrl+left-mouse-click, and finally make the required change.

    Basically I have two questions: 1. Can I turn off the fact that F3 turns off the multi-edit cursors? 2. If that can’t be done, what is the best way of doing a selective change without using that inconvenient NP++ find-popup-window that almost always overlays the string it just found?

    A 1 Reply Last reply Aug 22, 2021, 1:30 PM Reply Quote 0
    • A
      Alan Kilborn @Paul Wormer
      last edited by Aug 22, 2021, 1:30 PM

      @Paul-Wormer said in Multi-editing and F3:

      Can I turn off the fact that F3 turns off the multi-edit cursors?

      No.

      what is the best way of doing a selective change

      You already know the answer here, but you won’t like it: Replace button. :-)

      … without using that inconvenient NP++ find-popup-window that almost always overlays the string it just found?

      The Find window IS inconvenient in certain circumstances. :-(

      Especially on a single-monitor system. For 2 or more monitors it isn’t terrible, using N++ full screen on one monitor and putting the Find window somewhere on another monitor. But not everyone has 2+ monitors.

      When I’m in your “replacing” scenario and find myself on a single monitor system, what I do is move my Find window into the lower right corner of the screen, and only keep on screen what is needed (in this case keeping the Replace button fully visible), example:

      ff8c7c97-90de-42d6-b3a9-8df82a0636a4-image.png

      That way it doesn’t obscure any text, and still provides the functionality I need. Of course, it doesn’t obscure text this way because I always have the Search results panel open (and obviously it does potentially obscure some text on that panel).

      So…really…no solutions for you, just some workarounds that may or may not help. :-)

      P 1 Reply Last reply Aug 22, 2021, 1:43 PM Reply Quote 1
      • P
        Paul Wormer @Alan Kilborn
        last edited by Aug 22, 2021, 1:43 PM

        @Alan-Kilborn Thank you. I’ll give your solution (window in corner) a try.

        1 Reply Last reply Reply Quote 1
        3 out of 3
        • First post
          3/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors