Editar

Partilhar via


EnterAction interface

Describes what to do when pressing Enter.

Properties

appendText

Describes text to be appended after the new line and after the indentation.

indentAction

Describe what to do with the indentation.

outdentCurrentLine

Describe whether to outdent current line.

removeText

Describes the number of characters to remove from the new line's indentation.

Property Details

appendText

Describes text to be appended after the new line and after the indentation.

appendText?: string

Property Value

string

indentAction

Describe what to do with the indentation.

indentAction: IndentAction

Property Value

outdentCurrentLine

Describe whether to outdent current line.

outdentCurrentLine?: boolean

Property Value

boolean

removeText

Describes the number of characters to remove from the new line's indentation.

removeText?: number

Property Value

number