pub type CaretSelectionMovement = CaretMovement<CaretSelection>;Expand description
The result of moving a selection: the new anchor and caret, and the column to keep.
Aliased Type§
pub struct CaretSelectionMovement {
pub result: CaretSelection,
pub vertical_navigation_x: Option<Pixels>,
}Fields§
§result: CaretSelectionThe value at the requested destination.
The horizontal position, from the layout’s left edge, to keep across consecutive vertical movements. Pass it back in on the next move so the caret keeps its column.