Indent a line with WordWrapMode "Word" automatically

SyntaxEditor for WPF Forum

Posted 8 years ago by Tino Schnerwitzki
Version: 11.1.0543
Avatar
Hi,
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 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
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 (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.