View.setAutoIndent

If true auto-indentation of text is enabled.

When Enter is pressed to create a new line, the auto-indentation inserts the same indentation as the previous line. This is **not** a "smart indentation" where an indentation level is added or removed depending on the context.

class View
void
setAutoIndent
(
bool enable
)

Parameters

enable bool

whether to enable auto indentation.