moveToVisualLineBoundaryCommand method
TextCursorCommandResult
moveToVisualLineBoundaryCommand(
- TextDocument document,
- EditorState state,
- TextView view, {
- required bool end,
- bool extendSelection = false,
- bool clearSelection = true,
- bool preserveCollapsedSelection = false,
Implementation
TextCursorCommandResult moveToVisualLineBoundaryCommand(
TextDocument document,
EditorState state,
TextView view, {
required bool end,
bool extendSelection = false,
bool clearSelection = true,
bool preserveCollapsedSelection = false,
}) {
return moveCursorToVisualLineBoundary(
document,
state,
view,
cursorOffset: cursorOffset,
selectionBaseOffset: selectionBaseOffset,
selectionExtentOffset: selectionExtentOffset,
end: end,
extendSelection: extendSelection,
clearSelection: clearSelection,
preserveCollapsedSelection: preserveCollapsedSelection,
);
}