Community
    • Login

    UDL highlighting a string

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    8 Posts 2 Posters 2.6k 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.
    • Daniel ScholzD
      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
        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
          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
            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
              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
                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
                  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
                    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
                    • First post
                      Last post
                    The Community of users of the Notepad++ text editor.
                    Powered by NodeBB | Contributors