UDL 2.0 Question - Recognizing syntax
-
See picture above. I’m trying to get UDL to recognize ‘RESEARCH:’
So the semicolon syntax is what I want UDL to identify as defining a function (Is it called a function at this point or a subscript? Its been a while since I’ve coded in text :( )
I know this is probably a rudimentary question and I’ve looked through the UDL site, but haven’t resolved it myself.
-
Hello @Steven-Epps,
the following is assumed
a) RESEARCH isn’t a keyword but a function
b) the colon appears only on functionsif so, I would define a delimiter with ((A B C D E F …)) as open and : as closed
… needs to be all remaining letters of course.Cheers
Claudia -
Lol… :)
-
Dear @Steven-Epps,
I have to apologize, I don’t know what got into me posting such a nonsens.
With current version of UDL you cannot highlight strings based on a suffix.
What you could do so is to use e.g. F_ as unique identifier for functions
and define delimiter start F_ and end :
So, F_RESEARCH: would get highlighted.Sorry
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