diff options
author | Joe Wilm <joe@jwilm.com> | 2017-06-15 21:43:28 -0700 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-06-19 21:31:50 -0700 |
commit | 63bcb4601198790ccdb96ffec4a360ce3080e685 (patch) | |
tree | c2fb6452215559082df60a46c40473bbd5353c9c /src/grid.rs | |
parent | 3dfac443c7779646c96cadb06913518c458b0eb8 (diff) | |
download | alacritty-63bcb4601198790ccdb96ffec4a360ce3080e685.tar.gz alacritty-63bcb4601198790ccdb96ffec4a360ce3080e685.zip |
Implement semantic and line selection dragging
Unlike the regular selection that is by cell, these selection modes
highlight either semantic groupings or entire lines while the mouse is
dragged.
Diffstat (limited to 'src/grid.rs')
-rw-r--r-- | src/grid.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/grid.rs b/src/grid.rs index cdb93c96..f630045a 100644 --- a/src/grid.rs +++ b/src/grid.rs @@ -30,7 +30,7 @@ use index::{self, Point, Line, Column, IndexRange, RangeInclusive}; /// Convert a type to a linear index range. pub trait ToRange { - fn to_range(&self, columns: index::Column) -> RangeInclusive<index::Linear>; + fn to_range(&self) -> RangeInclusive<index::Linear>; } /// Bidirection iterator |