How to change the style of the caret?

SyntaxEditor for WPF Forum

Posted 1 year 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 1 year 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 (v26.1.0) was released 23 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.