SyntaxEditor for Windows Forms Forum

Posted 16 years ago by Chris Morris
Version: 4.0.0245
Platform: .NET 2.0
Environment: Windows 2000
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 16 years ago by Actipro Software Support - Cleveland, OH, USA
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 (v24.1.0) was released 9 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.