Community
    • Login

    Smart Highlighting - Multiline Support

    Scheduled Pinned Locked Moved General Discussion
    7 Posts 4 Posters 1.0k 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.
    • Joël Sabourin-PoirierJ
      Joël Sabourin-Poirier
      last edited by

      Hi.

      I am often going through big log files and I would like to be able to see duplicate text spanned over more then 1 line.

      EX) Selecting the first 2 lines would also highlight other occurrences:
      Testing
      1 … 2 … 3

      Testing
      1 … 2 … 3

      4 … 5 … 6
      Testing
      1 … 2 … 3

      4 … 5 … 6
      7 … 8 … 9

      Currently the smart highlighting dies as soon as you select Cr/Lf or characters from 2nd line:
      76153fb6-deb4-4cae-855b-196d4e48f3e5-image.png
      c4839fab-40c7-4a7a-89f9-38d19ae10759-image.png
      4c8b3529-e691-4dc4-a699-b4870f57f30c-image.png
      cb59066e-6879-465b-ad64-c4b38050e226-image.png
      6a0517a1-69dd-41ab-8918-c9c1e120077a-image.png

      1 Reply Last reply Reply Quote 0
      • EkopalypseE
        Ekopalypse
        last edited by

        @Joël-Sabourin-Poirier said in Smart Highlighting - Multiline Support:

        Testing
        1 … 2 … 3
        Testing
        1 … 2 … 3
        4 … 5 … 6
        Testing
        1 … 2 … 3
        4 … 5 … 6
        7 … 8 … 9

        Currently you can mark those lines (e.g. Search->MarkAll->using 1st style)
        and jump through the matches with Search->Jump down->1st style

        Joël Sabourin-PoirierJ 1 Reply Last reply Reply Quote 4
        • Joël Sabourin-PoirierJ
          Joël Sabourin-Poirier @Ekopalypse
          last edited by

          Thanks for the suggestion @Ekopalypse.

          The thing is that I do not want to permanently highlight them. I just want to go through and quickly find the occurrences as I go through the logs. I just want to use the Smart Highlighting feature.

          1 Reply Last reply Reply Quote 0
          • Joël Sabourin-PoirierJ
            Joël Sabourin-Poirier
            last edited by

            Did anybody managed to make it work on multi-line selection?

            1 Reply Last reply Reply Quote 0
            • Joël Sabourin-PoirierJ
              Joël Sabourin-Poirier
              last edited by

              If this is a missing feature or defect, should I post this somewhere else so it gets implemented or fixed? Where should I port it?

              PeterJonesP Alan KilbornA 2 Replies Last reply Reply Quote 0
              • PeterJonesP
                PeterJones @Joël Sabourin-Poirier
                last edited by

                @Joël-Sabourin-Poirier said in Smart Highlighting - Multiline Support:

                If this is a missing feature or defect, should I post this somewhere else so it gets implemented or fixed? Where should I port it?

                My guess is that Smart Highlighting was intentionally designed to not do multi-line (probably easier to implement that way); but that’s just a guess.

                If you would like to request a feature, see our FAQ about feature requests, and please understand that just requesting a feature, even in the official location, is not a guarantee that it will be implemented.

                1 Reply Last reply Reply Quote 0
                • Alan KilbornA
                  Alan Kilborn @Joël Sabourin-Poirier
                  last edited by Alan Kilborn

                  @Joël-Sabourin-Poirier

                  I do not want to permanently highlight them

                  I think @Ekopalypse 's suggested method is actually better than Smart Highlighting for this purpose. And…it isn’t really permanent, you can clear it later.

                  Plus you can make it really fast to implement and clear by using keyboard combinations rather than mousing through the menus.

                  And the killer feature part: Even if Smart Highlighting did what you wanted, you couldn’t quickly navigate to far apart versions of the duplicate text sections, you’d have to visually look for them. With Eko’s method, and he pointed this out, you can quickly jump to the next occurrence, even if very far away from the original.

                  I’m not a developer on Notepad++, but I really don’t see Smart Highlighting being changed to cross line-boundaries.

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