Skip to content

EditorView.moveToLineBoundary method

EditorView › moveToLineBoundary

Official

Move to the next line boundary in the given direction.

Signature:

moveToLineBoundary(start: SelectionRange, forward: boolean, includeWrap?: boolean | undefined): SelectionRange

Parameters:

Parameter Type Description
start SelectionRange The start selection range.
forward boolean Whether to move forward.
includeWrap? boolean | undefined Whether to include wrap points.

Returns: SelectionRangeThe new selection range.