• Login
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.
  • S
    Steven Epps
    last edited by Mar 2, 2016, 4:37 PM

    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.

    C 2 Replies Last reply Mar 3, 2016, 3:32 PM Reply Quote 0
    • C
      Claudia Frank @Steven Epps
      last edited by Mar 3, 2016, 3:32 PM

      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
      • J
        Jared14406
        last edited by Mar 3, 2016, 10:28 PM

        Lol… :)

        1 Reply Last reply Reply Quote 0
        • C
          Claudia Frank @Steven Epps
          last edited by Mar 3, 2016, 11:18 PM

          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
          2 out of 4
          • First post
            2/4
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors