Community
    • Login

    Setting up a UDL, Beginning of line?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • SonOfDiabloS
      SonOfDiablo
      last edited by

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

      My “language” consists of strings of this manner:
      Text1$Text2|Text3
      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!

      1 Reply Last reply Reply Quote 0
      • Jim DaileyJ
        Jim Dailey
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • SonOfDiabloS
          SonOfDiablo
          last edited by

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

          Thanks for your input my good sir :)

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors