(corrected) Turn off +/- outline symbol for one line scope

SyntaxEditor for Windows Forms Forum

Posted 20 years ago by Steven Liu
Avatar
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 "!".

<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

Comments (2)

Posted 20 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Right now there isn't an easy way to switch outlining indicators on or off based on whether they span lines. We have that on our TODO list to try and find a way to do it.


Actipro Software Support

Posted 20 years ago by Eric J. Smith
Avatar
I second this request. <IMG SRC="smile.gif" border="0"> This would be awesome for my application.

Thanks,
Eric J. Smith <A HREF="http://www.ericjsmith.net/codesmith/" TARGET=_blank>http://www.ericjsmith.net/codesmith/</A>
The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.