Community
    • Login

    Edit 1 line and another line gets edited as well (copy - pasted text)

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    7 Posts 5 Posters 628 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.
    • ?
      A Former User
      last edited by A Former User

      Hi guys,

      When I copy a line of text (from line #1) to a new line (to line #2) and then add more text to the copied line (line #2), notepad++ is adding the same text to the original line (line #1) which I copied from.

      This started happening a month ago, and still keeps happening from time to time. (It does not happen every time, but frequent enough to drive me insane)

      Is there a solution for this? I’ve reinstalled Notepad++ but that did not fix it.

      Notepad++ V8.6.2 64 bit

      Thanks

      Mark OlsonM rdipardoR 2 Replies Last reply Reply Quote 0
      • Mark OlsonM
        Mark Olson @A Former User
        last edited by

        @Dhanushka-Jayaweera
        This sounds like it could be plugin-related. If you haven’t done so already, try disabling and re-enabling your plugins one at a time, and see if disabling one or more plugins solves your problem.

        1 Reply Last reply Reply Quote 0
        • pnedevP
          pnedev
          last edited by pnedev

          @Dhanushka-Jayaweera ,

          It could be that you accidentally activate multi-cursor feature of Notepad++ and when you type the added text appears at all cursors locations.

          For example if you click on some text position (line1) and then hold CTRL key and click on another position (line2) you will notice that there are now two active carets (at both positions you clicked) and if you start typing you will get the result you described. AFAIK this is a feature in the most recent versions of Notepad++.

          I suspect that when you select your text you use CTRL + C to copy your text and then you unconsciously continue holding CTRL pressed while clicking on the paste location which leads to the addition of the second caret at the paste position. At that moment everything you do affects the text at both caret positions.

          Make sure to release the CTRL key before clicking on the paste position to avoid creating the second caret.

          ? 1 Reply Last reply Reply Quote 3
          • rdipardoR
            rdipardo @A Former User
            last edited by

            See https://github.com/notepad-plus-plus/notepad-plus-plus/issues/14561

            I would install the latest Notepad++ release directly from GitHub, go to Settings > Preferences > Editing 2 and clear the checkbox labelled Enable Multi-Editing (Ctrl+Mouse click/selection).

            ? 1 Reply Last reply Reply Quote 5
            • ?
              A Former User @rdipardo
              last edited by

              @rdipardo Multiedit thing is always active since 8.6 from what I saw and cannot be deactivated. I’m gonna revert to 8.5.8 until they provide a option to deactivate it.

              PeterJonesP 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @pnedev
                last edited by

                @pnedev said in Edit 1 line and another line gets edited as well (copy - pasted text):

                Make sure to release the CTRL key before clicking on the paste position to avoid creating the second caret.

                This is probably it, but it’s still pretty annoying IMO (I understand this is user error, but still)

                I would revert to 8.5.8 where it has an option to deactivate it. Thanks

                1 Reply Last reply Reply Quote 0
                • PeterJonesP
                  PeterJones @A Former User
                  last edited by PeterJones

                  @A-Former-User said in Edit 1 line and another line gets edited as well (copy - pasted text):

                  I’m gonna revert to 8.5.8 until they provide a option to deactivate it.

                  Already exists. Notepad++ v8.6.3 and v8.6.4 have Settings > Preferences > Editing 2 > ☑ Enable Multi-Editing, as mentioned in the v8.6.3 and v8.6.4 announcements and already updated in the User Manual.

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