CodeMirrorAdapterExCommands.newlineAndIndentBefore method
CodeMirrorAdapterExCommands › newlineAndIndentBefore
Unofficial
Insert a new line before the current line and auto-indent.Signature:
newlineAndIndentBefore(editor: CodeMirrorEditor): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| editor | CodeMirrorEditor | The editor instance. |
Returns: void