refactor: completely remove inclusive selection mode
Having inclusive mode change a few critical functions behind the sceans is not a good way to share functionality. Basically every function is broken in one or the other mode. So we remove it entirely and instead will rely on different functions for different behaviors.
This commit is contained in:
parent
b8e9f981f2
commit
a5c360a2ec
7 changed files with 75 additions and 111 deletions
|
|
@ -9,8 +9,6 @@ end: Cursor = Cursor{},
|
|||
|
||||
const Self = @This();
|
||||
|
||||
pub const Style = enum { normal, inclusive };
|
||||
|
||||
pub inline fn eql(self: Self, other: Self) bool {
|
||||
return self.begin.eql(other.begin) and self.end.eql(other.end);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue