copySelectedLines
copySelectedLines(
editor,up?):boolean
Defined in: extensions/commands/commands.ts:181
Command that copies all selected lines unless the editor is readOnly.
Parameters
Section titled “Parameters”editor
Section titled “editor”Editor to execute the command on.
boolean
Whether or not the selection should remain on the top copy. Defaults to
false.
Returns
Section titled “Returns”boolean