• Login
Community
  • Login

Style Tokens wont highlight partial words

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
4 Posts 3 Posters 1.2k 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.
  • J
    jay vivas
    last edited by jay vivas Jul 21, 2021, 2:21 PM Jul 21, 2021, 2:18 PM

    In one of the latest updates NPP stopped being able to highlight partial words using style tokens. For example, if I highlight part in the word “partial”, NPP used to highlight any place in the doc that the string “part” was used. It didn’t matter if it was a whole word or used in the middle of a word. Now it wont highlight anything unless I just the style token on the whole word.

    My current version is 8.1.1

    I moved back to 7.9.5 and the issue is not there.

    P A 2 Replies Last reply Jul 21, 2021, 2:28 PM Reply Quote 0
    • P
      PeterJones @jay vivas
      last edited by Jul 21, 2021, 2:28 PM

      @jay-vivas ,

      Have you verified your Settings > Preferences > Highlighting settings? To be able to use the Search > Mark All (or Mark One) > Using Nth Style on a partial word, you have to uncheck the Mark All > ☐ Match whole word only checkbox

      See my reply to a similar question a week ago

      1 Reply Last reply Reply Quote 1
      • A
        Alan Kilborn @jay vivas
        last edited by Jul 21, 2021, 2:48 PM

        @jay-vivas said in Style Tokens wont highlight partial words:

        style

        It is really unfortunate that the term “style” is used, when the feature is really called Mark All (or Mark One). This causes general confusion, plus if users think to look for settings for the feature, maybe (just a guess) they see the word “style” in Style Configurator and go looking there! Gasp!

        But, maybe let’s not get started down this road too far, because even using “Mark” as part of Mark All (or One) is dicey, as it is a totally different “marking” than the Mark tab on the Find dialog.

        P 1 Reply Last reply Jul 21, 2021, 3:01 PM Reply Quote 0
        • P
          PeterJones @Alan Kilborn
          last edited by Jul 21, 2021, 3:01 PM

          @Alan-Kilborn ,

          It is really unfortunate that the term “style” is used,

          Yes, the naming of that feature was confusing, and is now even more so. Aside from “Mark” vs “Mark”, as you’ve already pointed out: In the Search menu, it’s called Mark All (and now also the new Mark One). In the context menu, it used to be Style token / Remove Style and now Style all occurrences of token / Style one token / Remove style. So the Search menu and Context menu use different names. (But it was confirming this that finally explained to me why so many thought of it as “Style Token” – because that’s what the context menu called it.)

          I have started the process of adding “Style Token” to the description of the Mark All settings in the online user manual – hopefully, it will be included in the next release

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