Community
    • Login

    how to enlight more than word ?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    highlighting
    4 Posts 3 Posters 850 Views 2 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.
    • jmclejJ Offline
      jmclej
      last edited by

      Hello,
      I like the functionality that enlights all the same words that the one selected but I would like to have the same whenever I selecte more than one word.
      How can I select the words “it is a test” for instance and have Notepad++ higlights all the occurences of this sentence please ?
      Regards

      Alan KilbornA jmclejJ 2 Replies Last reply Reply Quote 0
      • Alan KilbornA Offline
        Alan Kilborn @jmclej
        last edited by

        @jmclej

        Try selecting your phrase and choosing something from this menu: Search > Mark All > …

        1 Reply Last reply Reply Quote 2
        • PeterJonesP Online
          PeterJones
          last edited by

          @jmclej said:

          how can I … highlight all the occurrences of this [selection]

          The Smart Highlighting options are found in Settings > Preferences > Highlighting. If you turn off “Match whole word only”, then it will allow you to Smart Highlight on part of a word (like the “he” from “the”) or across multiple words (like your example of “it is a test”). The definition of “word” is affected by Settings > Preferences > Delimiter, so you could also add “space” to the word-character list – though that would have unintended consequences that could make it not work as you expect (so probably not a good idea).

          1 Reply Last reply Reply Quote 2
          • jmclejJ Offline
            jmclej @jmclej
            last edited by

            Thanks for both useful answers !

            1 Reply Last reply Reply Quote 1

            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