Module selection

Source
Expand description

State management for a selection in the grid

A selection should start when the mouse is clicked, and it should be finalized when the button is released. The selection should be cleared when text is added/removed/scrolled on the screen. The selection should also be cleared if the user clicks off of the selection.

Structs§

Anchor
A Point and side within that point.
Locations
Span
Represents a span of selected cells

Enums§

Selection
Describes a region of a 2-dimensional area
SpanType
How to interpret the locations of a Span.

Traits§

Dimensions
A type that has 2-dimensional boundaries