IndentAction

Describes what to do with the indentation when pressing Enter.

Online Documentation

Properties

Link copied to clipboard
external val Indent: IndentAction

Insert new line and indent once (relative to the previous line's indentation).

Link copied to clipboard

Insert two new lines:

Link copied to clipboard
external val None: IndentAction

Insert new line and copy the previous line's indentation.

Link copied to clipboard
external val Outdent: IndentAction

Insert new line and outdent once (relative to the previous line's indentation).