In This Article

IndentMode Enum

Specifies the type of indentation to perform when the key is pressed.

public enum IndentMode

Remarks

If the syntax language does not have a IIndentProvider service registered, the default indent mode is to Block indent.

Fields

Name Description
Block

When selected and the end user presses Enter, the new line of text is automatically indented to the same indentation as the line preceding it.

None

When selected, no automatic indenting occurs when the end user presses Enter to move to a new line of text, and the cursor is placed at the first column of the next line.

Smart

When selected and the end user presses Enter, the new line of text is automatically indented based on what the current language's IIndentProvider service determines the context to be.