Indent a line with WordWrapMode "Word" automatically

SyntaxEditor for WPF Forum

Posted 13 years ago by Tino Schnerwitzki
Version: 11.1.0543
i have implemented a custom indentprovider for Syntaxeditor for WPF 2011.1. When the user presses enter, the current line gets an indent depending on certain rules.

The Syntaxeditor has WordWrapMode set to "Word". As soon as a word wraps to a new line the same rules should be applied as well. The new line should get an indention too.

How can this be achieved? Is the best way to do this using an IndentProvider or TextFormatter?

Thx for any help.

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Tino,

Sorry but that sort of feature would be something core to how text lines are rendered and there isn't any mechanism for supporting that at this time.

Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.