Table of Contents

Enum IndentOptions

Namespace
Alternet.Editor.TextSource
Assembly
Alternet.Editor.v9.dll

Defines behaviour 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 nonblank character of the preceding nonblank 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.