change "this" color
-
Hi!
I want to change color of keywords in Language->Define your language->…
I changed keywords like “true” or “false” which are alone or between spaces but for keyword like “this” which is follow by “.” and something as in “this.departureTime” i failed to change only “this” color.There is a function or a special keyword in Npp? Does it have a list of these function/special keywords?
thanks
-
This post is deleted! -
Your best bet may be to define “.” as an operator on the Operators & Delimiters tab in the Operators 1 box and set the Styler for the period (and any other operators you may define) as desired.
-
Thanks Jim Dailey but it change only the point color. I wish that point has the same comportment than a prefix but whith the two next words.
-
-
@Claudia-Frank
Thanks
it matches perrfectly with i want to do. Do you know other commands like “((EOL))”? -
no, ((EOL)) is the only special variable you could use together with UDL.
Cheers
Claudia
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