Why is UDL coloring keywords that are in words?
-
For giggles, me and my friend made a fictional programming language. Let’s call that APL (Advanced Programming Language).

See that the START and END keywords are colored. But, when we added an EXTEND keyword it’s still coloring the END. I don’t want the UDL to color keywords that are with multiple words.

Obviusly, it’s messing up the folding as well. How can i fix this? -
Use “Folding in code 2 style (separators needed)” [FiC2] instead of “Folding in code 1 style” [FiC1].
The FiC2 requires spaces or newlines before and after the open, middle, and close keywords, whereas the FiC1 does not.
Generally, FiC1 should be used for things like
{and}as block-markers to fold on, whereas FiC2 is useful for words.
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