• Login
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.
  • S
    SonOfDiablo
    last edited by Apr 18, 2017, 10:38 AM

    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
    • J
      Jim Dailey
      last edited by Apr 18, 2017, 4:28 PM

      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
      • S
        SonOfDiablo
        last edited by Apr 19, 2017, 6:18 AM

        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
        1 out of 3
        • First post
          1/3
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors