Szerkesztés

Megosztás a következőn keresztül:


IndentAction enum

Describes what to do with the indentation when pressing Enter.

Fields

None = 0

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

Indent = 1

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

IndentOutdent = 2

Insert two new lines:

  • the first one indented which will hold the cursor
  • the second one at the same indentation level
Outdent = 3

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