How to change the style of the caret?

SyntaxEditor for WPF Forum

The latest build of this product (v25.1.0) was released 2 months ago, which was before this thread was created.
Posted 4 days ago by Tobias Lingemann - Software Devolpment Engineer, Vector Informatik GmbH
Version: 24.1.4
Avatar

Hi,

I know that I can change the style of primary and secondary carets when multiple carets are active, but how can I change the style of a single caret?


Best regards, Tobias Lingemann.

Comments (1)

Answer - Posted 3 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

The color of the normal single caret is defined by the SyntaxEditor.CaretBrush property.  If that brush is not defined, the fallback logic will be to use a black brush on light backgrounds and a white brush on dark backgrounds.


Actipro Software Support

Add Comment

Please log in to a validated account to post comments.