How to change the style of the caret?

SyntaxEditor for WPF Forum

Posted 7 months 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 7 months 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

The latest build of this product (v25.1.3) 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.