Implement word-wise mouse selection

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2021-11-23 18:50:17 +01:00
parent 3269b9925f
commit bcf38e6bb5
6 changed files with 77 additions and 51 deletions

View file

@ -15,7 +15,7 @@ pub enum Event {
LeftMouseDown {
position: Vector2F,
cmd: bool,
count: usize,
click_count: usize,
},
LeftMouseUp {
position: Vector2F,