moveSelectedLines
moveSelectedLines(
editor,up?):boolean
Defined in: extensions/commands/commands.ts:157
Command that moves all selected lines unless the editor is readOnly.
Parameters
Section titled “Parameters”editor
Section titled “editor”Editor to execute the command on.
boolean
Whether to move the lines up. Defaults to false.
Returns
Section titled “Returns”boolean