Commands
module Commands| Assembly | Ranvier.Plume |
| Attributes | [<RequireQualifiedAccess>] |
Functions and values
cursorCharLeft: CommandcursorCharRight: CommandcursorDocEnd: CommandcursorDocStart: CommandcursorGroupLeft: CommandcursorGroupRight: CommandcursorLineDown: CommandcursorLineEnd: CommandcursorLineStart: CommandcursorLineUp: CommandcursorPageDown: CommandcursorPageUp: Command
cursorPageUp: CommandMoves up by the number of lines in
cutSelection: Command
cutSelection: CommandDeletes selected text as one cut transaction.
deleteCharBackward: Command
deleteCharBackward: CommandDeletes every range, or the character before a cursor.
deleteCharForward: Command
deleteCharForward: CommandDeletes every range, or the character after a cursor.
insertNewline: Command
insertNewline: CommandReplaces every range by the state's line separator.
insertNewlineKeepIndent: Command
insertNewlineKeepIndent: CommandReplaces every range by a line break and the white space the range's line starts with.
insertTab: Command
insertTab: CommandInserts the state's indent unit.
insertText (text: string) : Command
insertText (text: string) : CommandReplaces every range by
ofState (command: StateCommand) (editor: Editor) : boolpasteText (text: string) : Command
pasteText (text: string) : CommandPastes one line per range when their counts match. Otherwise each range receives the full text.
redo: Command
redo: CommandRedoes the history item last undone.
selectAll: CommandselectCharLeft: CommandselectCharRight: CommandselectDocEnd: CommandselectDocStart: CommandselectGroupLeft: CommandselectGroupRight: CommandselectLine: Command
selectLine: CommandSelects the lines of every range, each with its line break.
selectLineDown: CommandselectLineEnd: CommandselectLineStart: CommandselectLineUp: CommandselectPageDown: CommandselectPageUp: Commandundo: Command
undo: CommandUndoes the document's last history item.