EnterAction interface
Describes what to do when pressing Enter.
Properties
append |
Describes text to be appended after the new line and after the indentation. |
indent |
Describe what to do with the indentation. |
outdent |
Describe whether to outdent current line. |
remove |
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
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