Community
    • Login

    UDL 2.0 Question - Recognizing syntax

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

          Lol… :)

          1 Reply Last reply Reply Quote 0
          • Claudia FrankC Offline
            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

            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