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
test
embedded in the wordtesting
orattest
oruntestable
. If you have Match whole word only turned on and then selecttest
and 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!