Need help defining UDL.
-
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 codeIn 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
-
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 -
@Claudia-Frank That did it! Thanks!!!