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.