• Login
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.
  • E
    Ebm Dendermonde
    last edited by Jan 26, 2016, 5:56 AM

    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

    C 1 Reply Last reply Jan 26, 2016, 10:08 PM Reply Quote 0
    • C
      Claudia Frank @Ebm Dendermonde
      last edited by Jan 26, 2016, 10:08 PM

      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

      E 1 Reply Last reply Feb 2, 2016, 2:36 PM Reply Quote 1
      • E
        Ebm Dendermonde @Claudia Frank
        last edited by Feb 2, 2016, 2:36 PM

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

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