Christian Duerr
2920cbe710
Add clippy check to travis
...
This commit adds clippy as a required step of the build process. To make
this possible, all existing clippy issues have been resolved.
2018-01-06 01:42:55 +00:00
Matthias Krüger
d552d28418
clippy: do and don't pass some things by reference as suggested (needless_pass_by_value, needless_borrow).
2017-12-03 12:50:40 -08:00
Martin Lindhe
5b444375f2
fix some typos in comments
2017-10-30 09:25:13 -07:00
Joe Wilm
f12fd880fe
Update tests for new Selection API
2017-06-19 21:31:50 -07:00
Joe Wilm
6b081dcc95
Fix unnecessary redraws with active selection
...
Could be cleaned up a bit if there was a wrapper for Option<Selection>
that contained this flag.
Also fixes a few compiler warnings.
2017-06-19 21:31:50 -07:00
Joe Wilm
63bcb46011
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.
2017-06-19 21:31:50 -07:00
Manish Goregaokar
4e1f4c8cd7
Clippy fixes!
2017-01-06 20:44:51 -08:00
Manish Goregaokar
fbeded8ac5
Remove need for inclusive ranges
2017-01-06 20:28:17 -08:00
Joe Wilm
b704dafb24
Fix some bugs with selections
...
Moving the window on macOS would cause a panic in certain circumstances.
2016-12-29 20:53:41 -05:00
Joe Wilm
689e0f4ad7
Unify Cursor, Location and name it Point
2016-12-29 11:09:29 -05:00
Joe Wilm
ae470bf68b
Implement copying selection for macOS
...
Still need automatic loading into selection copy buffer for linux.
2016-12-26 22:56:19 -05:00
Joe Wilm
6e708d2119
Implement visual component of mouse selections
...
This adds the ability to click and drag with the mouse and have the
effect of visually selecting text. The ability to copy the selection
into a clipboard buffer is not yet implemented.
2016-12-22 13:44:13 -05:00