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!!!
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