Hello,
I tried several options but just could not do it. I want to create a lexical state for a sub language.
Start delimiter is '['
End delimiter is ']'
I also want to support escape char - when the '\' sign is before the end delimiter I want the end delimiter to be a normal token in the language.
I tried:Thanks.
I tried several options but just could not do it. I want to create a lexical state for a sub language.
Start delimiter is '['
End delimiter is ']'
I also want to support escape char - when the '\' sign is before the end delimiter I want the end delimiter to be a normal token in the language.
I tried:
new LexicalPatternGroup(LexicalPatternType.Regex, "EndToken",
language.HighlightingStyles["DelimiterStyle"],
"(?<!\\\\)]");