Community
    • Login

    Need help defining UDL.

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    3 Posts 2 Posters 3.5k 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.
    • Ebm DendermondeE
      Ebm Dendermonde
      last edited by

      Hi all,

      I’d like some help defining a “User Defined Language”. The programming language I’d like to add is Beckhoff Structured Text.
      Preview of the code

      In our code bVwn [0,1] := resembles the transit from “step 0” to “step 1”.
      What I’d like to do is color the brackets and comma in blue and the numbers in a more gold-like color (as done in the visual studio environment).
      Most of the other coloring and keywords are defined. I’ve already defined the brackets as “Operators 1”.
      Screenshot
      The number recognition is set to the settings in this picture.

      Many thanks in advance!

      KR,

      Bart

      Claudia FrankC 1 Reply Last reply Reply Quote 0
      • Claudia FrankC
        Claudia Frank @Ebm Dendermonde
        last edited by

        Hello @Ebm-Dendermonde,

        define [] as delimiters and allow nesting numbers and operator 1 and define comma as operator 1 with the same colour as delimiter.
        Or I misunderstood your question and you maybe need to clarify.
        Cheers
        Claudia

        Ebm DendermondeE 1 Reply Last reply Reply Quote 1
        • Ebm DendermondeE
          Ebm Dendermonde @Claudia Frank
          last edited by

          @Claudia-Frank That did it! Thanks!!!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          The Community of users of the Notepad++ text editor.
          Powered by NodeBB | Contributors