Setting up a UDL, Beginning of line?

  • Hello I’m trying to setup my first UDL and I’m running into some issues.

    My “language” consists of strings of this manner:
    I want to have my UDL color the texts and the special characters ($ and |) as:
    Text1 => Blue
    Text2 => Green
    Text3 => Red
    Characters => Purple

    I’m having some issues with 2 things:

    1. When defining a Delimiter with open=$ and close=| the characters gets painted the color of this Delimiter and not the color specified in “Operators”.
    2. I can’t get it to color “Text1” as there is no selector for the beginning of an line, is there a work around for this?

    Any help would be greatly appreciated!

  • If Text1, 2 and 3 are simply any arbitrary text that may appear between the “$” and “|”, then I’m pretty sure you cannot do what you want with the UDL.

  • I was fearing as much :/
    That kinda sucks, welp, nothing to do about it I guess.

    Thanks for your input my good sir :)

Log in to reply