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): SelectionRange

Parameters:

ParameterTypeDescription
startSelectionRangeThe start selection range.
forwardbooleanWhether to move forward.
includeWrap?booleanWhether to include wrap points.

Returns: SelectionRange — The new selection range.