Community
    • Login

    Setting up a UDL, Beginning of line?

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 2.4k Views 2 Watching
    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 Offline
      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 Offline
        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 Offline
          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

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