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 |
|
Alexandre Bury
|
bb62452149
|
EditView: Prevent overflow error with no available space
|
2016-10-04 17:51:18 -07:00 |
|
Alexandre Bury
|
3b3f403f7a
|
Apply rustfmt
|
2016-10-02 15:22:29 -07:00 |
|
Alexandre Bury
|
8fa704bcfa
|
Rename Dialog::new -> Dialog::around
And `Dialog::empty` -> `Dialog::new`
|
2016-10-02 15:15:30 -07:00 |
|
Alexandre Bury
|
d684a5bc1e
|
Remove prelude module
Add `traits` module instead
|
2016-09-28 22:45:27 -07:00 |
|
Alexandre Bury
|
24511ae5f1
|
Accept Into<String> in EditView::set_content
|
2016-09-01 11:49:47 -07:00 |
|
Alexandre Bury
|
d51772f714
|
EditView: move cursor on content change
To the end of the content.
|
2016-09-01 11:42:16 -07:00 |
|
Alexandre Bury
|
0364f577b2
|
Add EditView::set_cursor
And fix a crash with `set_content` (it wasn't updating the cursor).
|
2016-09-01 11:10:12 -07:00 |
|
Alexandre Bury
|
ce6992a8c5
|
Add SliderView
|
2016-08-13 01:03:40 -07:00 |
|
Alexandre Bury
|
1052c0b74c
|
Remove EditView::min_length
Uses `.fixed_width()` from `Boxable` or something like that.
|
2016-08-03 21:58:00 -07:00 |
|
Alexandre Bury
|
75c365451f
|
Add initial TextArea
|
2016-08-02 00:32:16 -07:00 |
|
Alexandre Bury
|
ede5c616f6
|
Update EditView doc
With updated `examples/edit.rs` content
|
2016-07-31 17:53:00 -07:00 |
|
Alexandre Bury
|
3410150ed5
|
Fix clippy warning
Use `for` loop instead of discarding `collect` result.
|
2016-07-31 11:29:55 -07:00 |
|
Alexandre Bury
|
be7f2184e9
|
Unify prefix_length and suffix_length signatures
|
2016-07-30 15:56:39 -07:00 |
|
Alexandre Bury
|
d12622b56a
|
Fix examples and tests
|
2016-07-30 13:30:56 -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
|
ca6e16311f
|
Add secret mode to EditView
Only prints `*`. Prints `**` with wide chars.
|
2016-07-30 12:26:41 -07:00 |
|
Alexandre Bury
|
3726df46b7
|
Add on_submit to EditView
It simplifies the Edit example
|
2016-07-30 02:34:47 -07:00 |
|
Alexandre Bury
|
2e05a0825a
|
Add on_edit callback to EditView
Also fix <Del>/<Backspace> handling with precomposed characters
|
2016-07-30 01:18:12 -07:00 |
|
Alexandre Bury
|
f87d0e7c5b
|
Move views to new views module
|
2016-07-28 16:36:01 -07:00 |
|