Community
    • Login

    UDL 2.0 Question - Recognizing syntax

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 3 Posters 2.8k 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.
    • Steven EppsS
      Steven Epps
      last edited by

      Picture!

      See picture above. I’m trying to get UDL to recognize ‘RESEARCH:’

      So the semicolon syntax is what I want UDL to identify as defining a function (Is it called a function at this point or a subscript? Its been a while since I’ve coded in text :( )

      I know this is probably a rudimentary question and I’ve looked through the UDL site, but haven’t resolved it myself.

      Claudia FrankC 2 Replies Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Steven Epps
        last edited by

        Hello @Steven-Epps,

        the following is assumed

        a) RESEARCH isn’t a keyword but a function
        b) the colon appears only on functions

        if so, I would define a delimiter with ((A B C D E F …)) as open and : as closed
        … needs to be all remaining letters of course.

        Cheers
        Claudia

        1 Reply Last reply Reply Quote 0
        • Jared14406J
          Jared14406
          last edited by

          Lol… :)

          1 Reply Last reply Reply Quote 0
          • Claudia FrankC
            Claudia Frank @Steven Epps
            last edited by

            Dear @Steven-Epps,

            I have to apologize, I don’t know what got into me posting such a nonsens.
            With current version of UDL you cannot highlight strings based on a suffix.
            What you could do so is to use e.g. F_ as unique identifier for functions
            and define delimiter start F_ and end :
            So, F_RESEARCH: would get highlighted.

            Sorry
            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