Style All Occurrences of Token is not working
-
Hi Experts,
I hope this is the right spot, if that’s not the case, please guide me to the right spot. Thanks in advance! =)
I’m basic user with very limited development knowledge, but I use NPP quite a lot. I have recently installed the version 8.3.3 and I noticed the “Style All Occurrences of Token” is not working, however the “Syle One Token” is working just fine. Last version where this feature worked properly was 7.9.5.

-
@gabriel-pelayo said in Style All Occurrences of Token is not working:
Last version where this feature worked properly was 7.9.5.
The feature has always worked correctly, if configured to do what you want.
See the Settings menu and choose Preferences…. Then set this setting the way I show it here:

-
Maybe I should point out that in your case, having Match whole word only turned on is a problem because you are trying to style a number embedded in another number.
If your number, 234887211, occurred with non-word characters (e.g. spaces) to its immediate left and immediate right, you would not have had a problem and would not have posted.
It is equivalent to attempting to style
testembedded in the wordtestingorattestoruntestable. If you have Match whole word only turned on and then selecttestand attempt to style on it, nothing would be styled, unless you had standalone occurrences oftest. -
@alan-kilborn
It worked. It seems that checkbox was added between v.7.9.5 and v.8.3.2. Thank you so much!
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