Table of Contents

Enum IndentOptions

Namespace
Alternet.Editor.Wpf
Assembly
Alternet.Editor.Wpf.v9.dll

Defines behavior of Edit control when user presses Enter to insert new text line. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Flags]
public enum IndentOptions

Fields

AutoIndent = 1

Positions the cursor under the first non blank character of the preceding non blank line when user presses Enter.

JumpToIndent = 8

Jumps to indent position rather than adding tabs or spaces.

None = 0

No indentation.

SmartIndent = 2

Positions the cursor to the line indentation level, obtained from parser supporting option SyntaxOptions.SmartIndent when user presses Enter.

UsePrevIndent = 4

Uses spaces and tabs from previous line when indenting the line.