Begin to use pixels for column selection

For zed-industries/community#759
For zed-industries/community#1966

Co-Authored-By: Julia <floc@unpromptedtirade.com>
This commit is contained in:
Conrad Irwin 2023-09-27 15:10:50 -06:00
parent a801a4aeef
commit dacc8cb5f4
5 changed files with 387 additions and 166 deletions

View file

@ -5,6 +5,8 @@ use std::ops::Range;
#[derive(Copy, Clone, Debug, PartialEq)]
pub enum SelectionGoal {
None,
HorizontalPosition(f32),
HorizontalRange { start: f32, end: f32 },
Column(u32),
ColumnRange { start: u32, end: u32 },
}