scrollByOneLine
scrollByOneLine(
editor,up?):boolean
Defined in: extensions/commands/commands.ts:197
Command that scrolls the editor by one line.
Parameters
Section titled “Parameters”editor
Section titled “editor”Editor to execute the command on.
boolean
Whether to scroll up. Defaults to false.
Returns
Section titled “Returns”boolean