Posted 21 years ago
by Steven Liu
I had a typo in my previous posting, however I can neither edit it nor reply to it. So I post the corrected version as a new topic. Sorry for the confusion.
==========================================================
I am trying to define visual studio style multi-line comment state. The comment symbol is "!".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
==========================================================
I am trying to define visual studio style multi-line comment state. The comment symbol is "!".
<Scope>
<ExplicitPatternGroup Type="StartScope" Token="CommentStartToken" Style="CommentDelimiterStyle" PatternValue="!" />
<RegexPatternGroup Type="EndScope" Token="CommentEndToken" Style="CommentDelimiterStyle" PatternValue="\n" LookAhead="[ \t]*[^!]" />
</Scope>
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