moveSelectionsToLineBoundary method
Moves every active cursor to the start or end of its logical line.
Implementation
bool moveSelectionsToLineBoundary({required bool forward}) {
_refreshDocumentSnapshot();
return _applyMappedEnds(
forward: forward,
mapEnd: (offset, _) => _lineBoundaryOffset(offset, forward: forward),
);
}