• Login
Community
  • Login

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

Scheduled Pinned Locked Moved General Discussion
7 Posts 2 Posters 406 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.
  • D
    dcwebman
    last edited by Aug 12, 2022, 1:43 PM

    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?

    A 1 Reply Last reply Aug 12, 2022, 1:53 PM Reply Quote 0
    • A
      Alan Kilborn @dcwebman
      last edited by Aug 12, 2022, 1:53 PM

      @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?

      D 1 Reply Last reply Aug 12, 2022, 3:39 PM Reply Quote 0
      • D
        dcwebman @Alan Kilborn
        last edited by Aug 12, 2022, 3:39 PM

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

        A 1 Reply Last reply Aug 12, 2022, 5:07 PM Reply Quote 0
        • A
          Alan Kilborn @dcwebman
          last edited by Aug 12, 2022, 5:07 PM

          @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.

          D 1 Reply Last reply Aug 12, 2022, 5:31 PM Reply Quote 0
          • D
            dcwebman @Alan Kilborn
            last edited by Aug 12, 2022, 5:31 PM

            @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?

            A 1 Reply Last reply Aug 12, 2022, 5:36 PM Reply Quote 0
            • A
              Alan Kilborn @dcwebman
              last edited by Aug 12, 2022, 5:36 PM

              @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.

              D 1 Reply Last reply Aug 12, 2022, 9:35 PM Reply Quote 0
              • D
                dcwebman @Alan Kilborn
                last edited by Aug 12, 2022, 9:35 PM

                @Alan-Kilborn Thanks for finding the workaround.

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