Skip to content

scrollByOneLine

scrollByOneLine(editor, up?): boolean

Defined in: extensions/commands/commands.ts:197

Command that scrolls the editor by one line.

PrismEditor

Editor to execute the command on.

boolean

Whether to scroll up. Defaults to false.

boolean