Community
    • Login

    UDL highlighting a string

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    8 Posts 2 Posters 3.1k 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.
    • Daniel ScholzD Offline
      Daniel Scholz
      last edited by

      Hello,
      how can I highlight this string in UDL?

      @122 R15 K0 K555

      All numbers are variable!

      thx
      Daniel

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Daniel Scholz
        last edited by Claudia Frank

        @Daniel-Scholz

        What do you mean by this string? The whole string?
        Or @122 independently from R15 and from K0 which itself should be same as K555?
        So, do you want to have @, R and K be an identifier for strings?

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Daniel ScholzD Offline
          Daniel Scholz
          last edited by

          I mean the complete string.

          Starting with @ (then a number)
          then any space
          then text
          then any space
          then text
          then any space
          then text

          Claudia FrankC 1 Reply Last reply Reply Quote 0
          • Claudia FrankC Offline
            Claudia Frank @Daniel Scholz
            last edited by Claudia Frank

            @Daniel-Scholz

            by defining a delimiter start with @ and end with special variable ((EOL)).
            Yes, needs to be encased by (( and )).

            Or could it be that @ is followed by a string? If this is the case you would need to create
            a list of @0 to @9.

            Cheers
            Claudia

            1 Reply Last reply Reply Quote 0
            • Daniel ScholzD Offline
              Daniel Scholz
              last edited by

              No, after @ comes a number.
              Can you give me an example.
              Or can you tell me a side where i can find informations how to create.

              Example: I want to find following strings.

              @121 R60 K5 K200
              @360 R55 K0 K120

              Both line should be highlighted.

              Claudia FrankC 1 Reply Last reply Reply Quote 0
              • Claudia FrankC Offline
                Claudia Frank @Daniel Scholz
                last edited by

                @Daniel-Scholz

                docu about udl is http://ivan-radic.github.io/udl-documentation/delimiters/

                Cheers
                Claudia

                1 Reply Last reply Reply Quote 0
                • Daniel ScholzD Offline
                  Daniel Scholz
                  last edited by

                  Is there anywhere a overview of all available parameter´s?

                  Like ((EOL))… what else is possible?

                  Claudia FrankC 1 Reply Last reply Reply Quote 0
                  • Claudia FrankC Offline
                    Claudia Frank @Daniel Scholz
                    last edited by Claudia Frank

                    @Daniel-Scholz

                    afaik, ((EOL)) is the only one,
                    but to answer the question, I don’t know any other than the source code.

                    Cheers
                    Claudia

                    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