Posted 20 years ago
by Steven Liu
I am trying to define visual studio style multi-line comment state:
<Scope>
<ExplicitPatternGroup Type="StartScope" Token="CommentStartToken" Style="CommentDelimiterStyle" PatternValue="'" />
<RegexPatternGroup Type="EndScope" Token="CommentEndToken" Style="CommentDelimiterStyle" PatternValue="\n" LookAhead="[ \t]*[^!]" />
</Scope>
I also implemented my custom semantic parser to enable the outlining. It works great.
I have a question though. Is there a way to turn off the +/- outline symbol for single line comment since there's nothing to expand and collapse? Showing the +/- for each and every single line comment is distracting.
Thanks.
Steven
<Scope>
<ExplicitPatternGroup Type="StartScope" Token="CommentStartToken" Style="CommentDelimiterStyle" PatternValue="'" />
<RegexPatternGroup Type="EndScope" Token="CommentEndToken" Style="CommentDelimiterStyle" PatternValue="\n" LookAhead="[ \t]*[^!]" />
</Scope>
I also implemented my custom semantic parser to enable the outlining. It works great.
I have a question though. Is there a way to turn off the +/- outline symbol for single line comment since there's nothing to expand and collapse? Showing the +/- for each and every single line comment is distracting.
Thanks.
Steven
The latest build of this product (v24.1.1) was released 1 month ago,
which was after this thread was created.