EditorView.moveToLineBoundary method
EditorView › moveToLineBoundary
Official
Move to the next line boundary in the given direction.Signature:
moveToLineBoundary(start: SelectionRange, forward: boolean, includeWrap?: boolean): SelectionRangeParameters:
| Parameter | Type | Description |
|---|---|---|
| start | SelectionRange | The start selection range. |
| forward | boolean | Whether to move forward. |
| includeWrap? | boolean | Whether to include wrap points. |
Returns: SelectionRange — The new selection range.