SpanIndicator with syntax highlighting

SyntaxEditor for Windows Forms Forum

Posted 15 years ago by Alex_3333
Avatar
Can I attain SpanIndicator' behaviour like changing DocumentLine.BackColor? So the syntax highlighting is not changed only background color?

Comments (6)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Not right now... since you are returning a HighlightingStyle from the span indicator, it forces you to set a foreground color.


Actipro Software Support

Posted 15 years ago by Radventure B.V
Avatar
Currently it is not possible to specify Color.Empty or something else on a HighlightingStyle that makes sure the default color is preserved. Could this be changed in a next version?

Or is there maybe already antoher way to accomplish this?

Erik Pepping.
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
That's on the TODO list for a future version. Unfortunately there is no way to do it right now.


Actipro Software Support

Posted 14 years ago by Thomas Goff
Avatar
Is this still on the TODO list?
Posted 14 years ago by Thomas Goff
Avatar
Nevermind, I see that it works now. Thanks!
Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Yes that works in 3.1. In 4.0 though, we're adding a whole bunch of other new features for highlighting styles and span indicators as well.

[Modified at 02/20/2006 11:53 AM]


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.