Community
    • Login

    Replace when inserting

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 3 Posters 4.9k 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.
    • Vic3DexeV
      Vic3Dexe
      last edited by

      Notepad++ 8.1.4 x64.

      Suppose using overwrite mode, i.e. when I typing smth symbols in text are replaced with new ones as expected.
      But if I use ctrl+V, new text is inserted and not replacing anything.

      Is this bug or feature?
      Can’t find any option to disable this.

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @Vic3Dexe
        last edited by

        @vic3dexe ,

        I am not 100% sure, but I think that’s a fairly standard way of handling Ctrl+V in overwrite mode. Windows notepad doesn’t have overwrite-vs-insert, so I couldn’t replicate there; but when I pulled up OpenOffice Write, it also has Ctrl+V insert the text, whether it’s in overwrite or insert mode; and when I pulled up MS WordPad, even though it doesn’t have a menu option or any toggle that I could see, when I toggled the state of the INS key, I could verify that normal typing switched between insert and overwrite; and when I did Ctrl+V in either mode, it inserted the copied text. So in my not-very-large sample of 2 apps other than Notepad++ with overwrite-vs-insert, both by different software authors (Microsoft vs OpenOffice), 2/2=100% behaved like Notepad++ does.

        That said, there isn’t a way to disable that, as it’s just “the way things are done”, AFAICT.

        And if you want Ctrl+V to overwrite, all you have to do is select what you want it to overwrite.

        Vic3DexeV 1 Reply Last reply Reply Quote 2
        • Vic3DexeV
          Vic3Dexe @PeterJones
          last edited by

          @peterjones said in Replace when inserting:

          And if you want Ctrl+V to overwrite, all you have to do is select what you want it to overwrite.

          Yes, I know. But what if I want to replace part of text in such a way, that other part don’t move? To do this I need to calculate length of what I inserting, then select such amount of chars.

          No offence, but it is much easier just put cursor where I want and press ctrl+V.

          Ok, anyway, I get it, it’s a feature. Thank you.
          Is there any bug tracker or smth?

          Vic3DexeV 1 Reply Last reply Reply Quote 0
          • Vic3DexeV
            Vic3Dexe @Vic3Dexe
            last edited by

            Nvm, found the bug tracker.

            Alan KilbornA 1 Reply Last reply Reply Quote 0
            • Alan KilbornA
              Alan Kilborn @Vic3Dexe
              last edited by

              @vic3dexe said in Replace when inserting:

              found the bug tracker.

              It is good forum etiquette to post a link to any issue you open, that you’ve also discussed here. I will do it for you this time:

              https://github.com/notepad-plus-plus/notepad-plus-plus/issues/10769

              Also, this thread may interest you:

              https://community.notepad-plus-plus.org/topic/18715

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