Community
    • Login

    UDL highlight keywords that are not seperated

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 2.2k 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.
    • Chris HansenC Offline
      Chris Hansen
      last edited by

      The language I am working with you can combine multiple keywords that will end up being a string when the interpreter processes them.

      For example two of the keywords are @STORE and @TER in the code I can put @STORE@TER and it will output the store number and terminal number for example store number is 123 and terminal number is 002 it will replace @STORE@TER with 123002.

      Is there a way to get Notepad++ to highlight both @STORE and @TER in a different color without having a space or other character separating them?

      Thank you,
      Chris

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC Offline
        Claudia Frank @Chris Hansen
        last edited by

        Hello @Chris-Hansen,

        afaik, only, if @ isn’t part of the keyword but used as operator.

        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