Can I style a code starting with $ and ending with a space?
-
I.e. $name1 or @name1.name2 or even $name1.name2.name3?
So markup needs to be done till the first empty space after $. -
Your title isn’t exactly in sync with your explanation, but…let’s work with your actual example and disregard the title irregularity.
Well, it’s not a permanent styling, but you could do a Search > Mark… operation and put
(?-s)[$@].*?(?=\s)into the Find what box, then press the Mark all button.If you are willing to use the Pythonscript plugin, you can search this forum site for
EnhanceUDLLexerand you’ll have the ability to make it more of a permanent thing.Perhaps also a standard UDL (User Defined Language) can help in your case; this would also make the styling permanent.
-
Perhaps also a standard UDL (User Defined Language) can help in your case; this would also make the styling permanent.
Yes, use $ as a keyword and check
prefixbox.
Will color everything starting from $ til first non-word-char.
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