Alexandre Bury
|
06b02e4665
|
Remove "extern crate" and rustfmt
|
2019-02-28 16:04:14 -08:00 |
|
Alexandre Bury
|
e096dc9740
|
Run cargo fix --edition-idioms
|
2019-02-28 15:55:10 -08:00 |
|
Alexandre Bury
|
e51be07e5d
|
Update to Rust 2018
Run `cargo fix --edition` and update Cargo.toml
|
2019-02-28 15:54:12 -08:00 |
|
Alexandre Bury
|
193f098ee0
|
Add Printer::enabled
|
2018-11-09 14:08:43 -08:00 |
|
Alexandre Bury
|
333392e034
|
Add immut! macros
|
2018-09-24 14:28:23 -07:00 |
|
Alexandre Bury
|
92f919978c
|
Rustfmt
|
2018-08-22 13:33:29 -07:00 |
|
Alexandre Bury
|
2610b697a8
|
Rustfmt
|
2018-07-19 19:44:59 -07:00 |
|
Alexandre Bury
|
6ce2dba8a1
|
Fix clippy warnings
|
2018-06-21 14:44:30 -07:00 |
|
Alexandre Bury
|
5e1956b737
|
Merge branch 'master' into scroll
|
2018-06-15 23:21:10 -07:00 |
|
Alexandre Bury
|
8acc08f340
|
Rustfmt
|
2018-06-10 23:29:19 -07:00 |
|
Alexandre Bury
|
2088d5de2a
|
Cargo fmt
|
2018-05-17 17:37:39 -07:00 |
|
Alexandre Bury
|
755854963f
|
Fix clippy warnings
|
2018-05-17 17:35:57 -07:00 |
|
Alexandre Bury
|
d4ced015f6
|
EditView: keep cursor in view after key event
|
2018-05-03 08:36:17 -07:00 |
|
Alexandre Bury
|
f0b3287d73
|
Merge branch 'master' into scroll
|
2018-04-16 22:42:42 -07:00 |
|
Alexandre Bury
|
126530b9a9
|
Cursive::new now takes the backend as argument
|
2018-04-01 16:39:03 -07:00 |
|
Alexandre Bury
|
4778e4de6f
|
Implement EditView::important_area
|
2018-03-22 14:17:00 -07:00 |
|
Alexandre Bury
|
1ad515e5f0
|
rustfmt
|
2018-03-22 11:04:58 -07:00 |
|
Alexandre Bury
|
acb73765e9
|
Add EditView::maximum_width
Currently only applied during text insertion.
Doesn't affect scrolling yet.
|
2018-03-15 16:07:28 -07:00 |
|
Alexandre Bury
|
16a3bd7bbe
|
Return callbacks from EditView::set_content
Just like for SelectView::select_up
|
2018-03-15 11:50:22 -07:00 |
|
Alexandre Bury
|
5dfdeab6ae
|
Fix clippy warnings
|
2018-01-22 14:47:56 -08:00 |
|
Alexandre Bury
|
da8310b076
|
Rustfmt
|
2018-01-22 14:37:27 -08:00 |
|
Alexandre Bury
|
3674c118cb
|
Rustfmt
|
2018-01-22 11:55:56 -08:00 |
|
Alexandre Bury
|
98aff39904
|
Move View::as_any to separate trait AnyView
|
2018-01-22 11:50:25 -08:00 |
|
Alexandre Bury
|
1551fbb543
|
Add View::as_any and View::as_any_mut
|
2018-01-22 09:20:45 -08:00 |
|
Alexandre Bury
|
5ac0fce363
|
Refactor ColorStyle
Add the notion of PaletteColor to use a color from the palette.
Breaking change: most color styles are now methods rather than enum
variants.
|
2018-01-17 10:22:06 -08:00 |
|
Alexandre Bury
|
c4670e5262
|
More utils re-organization
|
2018-01-08 12:33:43 +01:00 |
|
Alexandre Bury
|
e4cd68a4eb
|
Rustfmt
|
2017-12-30 23:03:42 +01:00 |
|
Alexandre Bury
|
f90621811c
|
More rustfmt
|
2017-10-14 21:18:50 -07:00 |
|
Alexandre Bury
|
93982517ae
|
Fix clippy warnings
|
2017-10-13 11:24:17 -07:00 |
|
Alexandre Bury
|
111d593f55
|
Merge branch 'master'
|
2017-10-13 11:01:39 -07:00 |
|
Alexandre Bury
|
def6b3af27
|
Fix compilation
|
2017-10-12 20:13:49 -07:00 |
|
Alexandre Bury
|
aaf41f3ec4
|
Add mouse support to EditView
|
2017-10-12 17:38:21 -07:00 |
|
Alexandre Bury
|
a4ca7bbf1e
|
Rustfmt
|
2017-10-12 16:43:59 -07:00 |
|
Peter Kloss
|
759f57f1f8
|
fix some clippy warnings
|
2017-10-11 18:09:49 +02:00 |
|
hcpl
|
ca4410030a
|
Use log crate
This provides a uniform way to handle logging and can be combined with
logs from other libraries in end-user apps.
|
2017-08-23 17:49:09 +03:00 |
|
Alexandre Bury
|
391c5af462
|
Fix assert
|
2017-08-15 09:33:50 -07:00 |
|
Alexandre Bury
|
a48ff9082f
|
Replace println_stderr! with eprintln!
|
2017-08-14 17:01:49 -07:00 |
|
Alexandre Bury
|
05bac7a192
|
More safe subtractions all around.
|
2017-08-14 16:32:39 -07:00 |
|
Alexandre Bury
|
5edc6fc163
|
Add chainable EditView::filler methods
And a few other filler fixes
|
2017-04-03 11:13:16 -07:00 |
|
Afonso Bordado
|
b2bcf4138a
|
EditView: Add a customizable filler character (#127)
* Add a customizable filler character
* Change filler character to string
|
2017-04-03 11:03:56 -07:00 |
|
Alexandre Bury
|
bdbf6d759e
|
Add EditView::set_style
|
2017-04-02 15:38:25 -07:00 |
|
Alexandre Bury
|
146ebd8931
|
Rename find_id -> call_on_id, find_id_mut -> find_id
|
2017-03-25 18:22:14 -07:00 |
|
Alexandre Bury
|
cdb3df7fc8
|
Merge branch 'master' into refview
|
2017-03-25 15:01:57 -07:00 |
|
Alexandre Bury
|
0bbc10706e
|
EditVIew: Add mutable and non-mutable callback methods
mutable callbacks disable recursive calls
|
2017-03-08 16:29:24 -08:00 |
|
Alexandre Bury
|
e0b279d9df
|
Fix clippy warnings
|
2017-03-05 15:18:15 -08:00 |
|
Alexandre Bury
|
7d9cb03ffb
|
More checks against small viewports
Prevents panics when the terminal is resized.
|
2017-03-05 11:35:20 -08:00 |
|
Alexandre Bury
|
b63762d441
|
View::find_any now takes a closure instead of returning reference
Also updated Finder::find and find_id.
|
2017-02-07 15:49:06 -08:00 |
|
Robin Stumm
|
99fa86bec9
|
return length and width from utils::prefix() (renamed from utils::prefix_length()) as per df835d1
|
2017-02-01 20:47:33 +01:00 |
|
Alexandre Bury
|
821d9f1783
|
Parse utf8 chars in pancurses backend
Closes #76
|
2016-10-11 16:08:44 -07:00 |
|
nabijaczleweli
|
c81579a20a
|
Disable failing doctests
|
2016-10-11 19:11:40 +02:00 |
|