Posted 20 years ago
by Sandra
- Portugal
Hi,
How do I define multi-line comments starting with "comment {" and ending with "}"?
I tried the following syntax but from the comment start on all the text is marked as comment, but if instead of ending with "}" I end with another character it works...
<ExplicitPatternGroup Type="StartScope" Token="MultiLineCommentStartToken" Style="CommentDelimiterStyle" PatternValue="comment {" />
<ExplicitPatternGroup Type="EndScope" Token="MultiLineCommentEndToken" Style="CommentDelimiterStyle" PatternValue="}" />
Thanks,
Sandra
How do I define multi-line comments starting with "comment {" and ending with "}"?
I tried the following syntax but from the comment start on all the text is marked as comment, but if instead of ending with "}" I end with another character it works...
<ExplicitPatternGroup Type="StartScope" Token="MultiLineCommentStartToken" Style="CommentDelimiterStyle" PatternValue="comment {" />
<ExplicitPatternGroup Type="EndScope" Token="MultiLineCommentEndToken" Style="CommentDelimiterStyle" PatternValue="}" />
Thanks,
Sandra