Community
    • Login

    Replace all double quotes freezes over a certain number of lines

    Scheduled Pinned Locked Moved General Discussion
    replace all7.9.1
    6 Posts 3 Posters 850 Views 1 Watching
    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.
    • Jerry O'BrienJ Offline
      Jerry O'Brien
      last edited by

      Using 7.9.1 64-bit, I have a list of usernames, one per line, surrounded by double quotes. I am trying to use Replace All in Normal mode to replace double quote with empty string, in the whole document. If I have 250 lines, it works as expected, but with 500 lines or more, I get a progress spinner that remains for an inordinate time (MS Notepad replaces in 2700 lines nearly instantly). I don’t know if it would ever finish; I haven’t wanted to wait for it. Anyone seen this?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Jerry O'Brien
        last edited by

        @Jerry-O-Brien ,

        500 lines is tiny, and shouldn’t have a problem.

        Could you give a screenshot of your Replace dialog?

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

          Further:

          3f7c3d94-935e-413b-b839-8f9e90ab6022-image.png
          =>
          e6f4cc15-b8f0-4895-a7c2-3999f52724b5-image.png

          lasted less than a second from hitting Replace All.

          Please also give your ? menu’s Debug Info (copy/paste from that window to here)

          Jerry O'BrienJ 1 Reply Last reply Reply Quote 2
          • Jerry O'BrienJ Offline
            Jerry O'Brien @PeterJones
            last edited by

            @PeterJones 1e60fc7f-7466-41ae-85c8-da7af57bf19b-image.png

            Notepad++ v7.9.1 (64-bit)
            Build time : Nov 2 2020 - 01:07:46
            Path : C:\Program Files\Notepad++\notepad++.exe
            Admin mode : OFF
            Local Conf mode : OFF
            OS Name : Windows 10 Enterprise (64-bit)
            OS Version : 1909
            OS Build : 18363.1198
            Current ANSI codepage : 1252
            Plugins : mimeTools.dll NppConverter.dll NppExport.dll NppXmlTreeviewPlugin.dll XMLTools.dll

            This file had 2320 lines. Typical lines look like this:
            “aaaron”
            “aaden”
            “aagarwal”
            etc.

            I’ll hold off trying a reinstall to see if you want to try anything else.

            EkopalypseE 1 Reply Last reply Reply Quote 0
            • EkopalypseE Offline
              Ekopalypse @Jerry O'Brien
              last edited by

              @Jerry-O-Brien

              I would give it a try without having 3rd party plugins installed.
              Temporarily rename plugins directory from %APPDATA%\notepad++
              Start npp and redo the test.

              Jerry O'BrienJ 1 Reply Last reply Reply Quote 2
              • Jerry O'BrienJ Offline
                Jerry O'Brien @Ekopalypse
                last edited by

                @Ekopalypse Thanks. I removed and reinstalled XML Tools and that fixed it.

                1 Reply Last reply Reply Quote 3

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                The Community of users of the Notepad++ text editor.
                Powered by NodeBB | Contributors