CurrentStatementSpanIndicator

SyntaxEditor for Windows Forms Forum

Posted 12 years ago by Chris Morris
Version: 4.0.0245
Platform: .NET 2.0
Environment: Windows 2000
Avatar
The default contructor for CurrentStatementSpanIndicator creates a span indicator with the wrong SpanIndicator Name.

For example:
CurrentStatementSpanIndicator csIndicator = new CurrentStatementSpanIndicator();
The SpanIndicator Name for csIndicator is "Breakpoint" not "Current statement".

This causes problems with breakpoints!


The work around is to use the other Contructor:
CurrentStatementSpanIndicator csIndicator  = new CurrentStatementSpanIndicator(SpanIndicatorLayer.CurrentStatementKey, Color.Black, Color.FromArgb(255,255,238,98));

Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Chris,

Thanks for the note, we recently found this and have it fixed for the next maintenance release already.


Actipro Software Support

The latest build of this product (v2020.1 build 0400) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.