Griven
Griven

Reputation: 183

Avalonedit: Use line tab instead of paragraph tab?

I'm currently writing a basic word processing program, and I'm using Avalonedit because it's easy to use and handles large volumes of text more efficiently than the built-in WPF controls.

One of the issues that I'm running into is that when you tab or space at the beginning of a paragraph, the entire paragraph is indented, rather than the line that you are on.

Is there a way to change this in Avalonedit?

Upvotes: 1

Views: 908

Answers (1)

Daniel
Daniel

Reputation: 16464

You can set textEditor.Options.InheritWordWrapIndentation = false;

Upvotes: 1

Related Questions