Alexandre Bury
|
08a935d561
|
Don't run test examples when we call Cursive::new
It fails with some backends.
|
2017-12-31 20:29:05 +01:00 |
|
Alexandre Bury
|
8a05bd5421
|
TextView: improve documentation
|
2017-12-31 19:49:13 +01:00 |
|
Alexandre Bury
|
65ea8eeec8
|
No need to clone the Arc
|
2017-12-31 14:14:19 +01:00 |
|
Alexandre Bury
|
e4cd68a4eb
|
Rustfmt
|
2017-12-30 23:03:42 +01:00 |
|
Alexandre Bury
|
799ec812e4
|
Add TextContent and TextContentRef
To manage the model separately from the view.
|
2017-12-30 23:00:48 +01:00 |
|
Alexandre Bury
|
bbee77f1b7
|
Add ViewWrapper::into_inner
And add some derive(Debug)
|
2017-12-11 17:31:55 -08:00 |
|
Alexandre Bury
|
420454cc0f
|
Better mouse scroll drag
Now saturates when to the top or left.
|
2017-10-14 21:50:08 -07:00 |
|
Alexandre Bury
|
f90621811c
|
More rustfmt
|
2017-10-14 21:18:50 -07:00 |
|
Alexandre Bury
|
a5952d0741
|
Fix some mouse/scroll issues with SelectView and TextView
|
2017-10-13 17:53:39 -07:00 |
|
Alexandre Bury
|
93982517ae
|
Fix clippy warnings
|
2017-10-13 11:24:17 -07:00 |
|
Alexandre Bury
|
2fed1f3ff4
|
Add mouse support for regular SelectView
|
2017-10-12 14:32:48 -07:00 |
|
Alexandre Bury
|
5931ab17c8
|
Add mouse scroll support to TextView
|
2017-10-11 18:06:58 -07:00 |
|
Alexandre Bury
|
05bac7a192
|
More safe subtractions all around.
|
2017-08-14 16:32:39 -07:00 |
|
Alexandre Bury
|
cb3adc5baf
|
feat: find_id can now find views declared with with_id_mut
|
2017-02-26 15:52:42 -08:00 |
|
Alexandre Bury
|
d7eaa5a086
|
Rename View::get_min_size -> required_size
|
2017-01-23 22:53:03 -08:00 |
|
Alexandre Bury
|
c970712c3b
|
Add TextView::append_content
Also don't strip the newline anymore when setting content.
Instead, just ignore trailing newline when computing rows.
|
2017-01-23 20:22:43 -08:00 |
|
Alexandre Bury
|
0849ae6efa
|
Add comments
|
2017-01-21 15:06:31 -08:00 |
|
Alexandre Bury
|
3ecae579e8
|
Adjust the scroll after setting the scroll strategy
|
2017-01-21 11:46:56 -08:00 |
|
Alexandre Bury
|
924c74afbe
|
Add ScrollStrategy to TextView
|
2017-01-21 11:44:40 -08:00 |
|
Alexandre Bury
|
3b3f403f7a
|
Apply rustfmt
|
2016-10-02 15:22:29 -07:00 |
|
Alexandre Bury
|
2e06dd70cb
|
Apply rustfmt
|
2016-09-22 22:11:13 -07:00 |
|
Alexandre Bury
|
40f9a91a7a
|
Replace some &str -> S: Into<String>
Add back the "Ok" button to `examples/edit.rs`
|
2016-07-30 12:58:25 -07:00 |
|
Alexandre Bury
|
fb10e58188
|
Move LinesIterator to utils module
|
2016-07-28 23:05:33 -07:00 |
|
Alexandre Bury
|
f87d0e7c5b
|
Move views to new views module
|
2016-07-28 16:36:01 -07:00 |
|