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): SelectionRangeParameters:
| Parameter | Type | Description |
|---|---|---|
| start | SelectionRange | The start selection range. |
| forward | boolean | Whether to move forward. |
| includeWrap? | boolean | undefined | Whether to include wrap points. |
Returns: SelectionRange — The new selection range.