Community
    • Login

    Find All in Current Document is slow when clicking Search output line

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 2 Posters 403 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.
    • dcwebmanD
      dcwebman
      last edited by

      I regularly have to view large XML files. The one I am looking at right now is:
      length: 40,556,144
      lines: 974,367

      When using the Find All in Current Document command, it quickly finds the lines and displays them in the search results. However, when double-clicking on one of the search result lines, it takes a while before the selected line is displayed in the editor.

      If looking at the search results and using the Go To command to enter the line number from the search results, the line is quickly displayed.

      Can the search results for double-clicking on the line use the same functionality of the Go To command so it is quicker to go to the selected line?

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

        @dcwebman

        Please provide the version info of the Notepad++ you are using.
        Is what you’ve noticed something new, perhaps since you moved to a new version?

        dcwebmanD 1 Reply Last reply Reply Quote 0
        • dcwebmanD
          dcwebman @Alan Kilborn
          last edited by

          @Alan-Kilborn It has always been like this. I am using version 8.4.4 right now.

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

            @dcwebman

            Do you have Word wrap turned on? See Edit menu. If it is turned on, turn it off, repeat your testing.

            Do you have plugins? If so, suggest selectively disabling them and repeat your testing.

            dcwebmanD 1 Reply Last reply Reply Quote 0
            • dcwebmanD
              dcwebman @Alan Kilborn
              last edited by

              @Alan-Kilborn I turned word wrap off and double-clicking on the search result line was quick to find it in the editor. Looking through the file, I can’t see any word-wrapped lines though. Is that something that can be improved or do I have to use this workaround every time I have a large file?

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

                @dcwebman

                Historically with N++ and its underlying editing component, some operations with “wrap” on are just SLOW.

                Turning wrap off permanently might be a good idea, but wrap is currently a global setting that affects all editing tabs, and maybe you really need it on for some of your tabs.

                dcwebmanD 1 Reply Last reply Reply Quote 0
                • dcwebmanD
                  dcwebman @Alan Kilborn
                  last edited by

                  @Alan-Kilborn Thanks for finding the workaround.

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