Commit Graph

69 Commits

Author SHA1 Message Date
Alexandre Bury
6b278495d5 Use StyledString in SelectView 2018-11-30 13:19:08 -08:00
Alexandre Bury
3f4719c148 Fix typo in doc 2018-11-08 12:05:18 -08:00
Alexandre Bury
e82f0a077d Added doc & examples to utilities types 2018-11-08 11:24:48 -08:00
Alexandre Bury
333392e034 Add immut! macros 2018-09-24 14:28:23 -07:00
Alexandre Bury
810dc6a591 Fix desperate LinearLayout 2018-09-12 16:13:41 -07:00
Alexandre Bury
92f919978c Rustfmt 2018-08-22 13:33:29 -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
20cb033b8d Give wrapped rows full width 2018-05-05 09:04:32 -07:00
Alexandre Bury
b1e9afe0ff Add vpv example 2018-04-10 11:46:02 -07:00
Alexandre Bury
063589b0cd Move Counter to utils module 2018-04-10 11:45:36 -07:00
Alexandre Bury
fd09b5f806 Use Vec2 in backend methods 2018-04-02 18:08:12 -07:00
Alexandre Bury
c626779d8a Fix simple LinesIterator
Was stopping at the first empty line.
2018-02-19 19:55:31 -08:00
Alexandre Bury
62260a025e Rustfmt 2018-02-16 17:21:24 -08:00
Alexandre Bury
6b6398f109 Fix clippy warnings 2018-02-16 17:20:13 -08:00
Alexandre Bury
d33fb39cd9 Replace AsSpannedStr with Into<SpannedStr> 2018-02-16 17:16:01 -08:00
Alexandre Bury
d0a186d01e Move show_spaces option to spans::LinesIterator 2018-02-16 17:10:29 -08:00
Alexandre Bury
2760e92ce6 Use spans::LinesIterator from simple::LinesIterator 2018-02-16 17:04:39 -08:00
Alexandre Bury
0ff08f3a9f Add Row::overall_indices 2018-02-16 16:56:25 -08:00
Alexandre Bury
7772cd146d Add AsSpannedStr trait
For nicer calls to resolve
2018-02-16 16:32:54 -08:00
Alexandre Bury
25e65a87e8 Remove attribute type from spans::LinesIterator 2018-02-16 16:05:15 -08:00
Alexandre Bury
c220cc679a Remove attribute type from SpannedText 2018-02-16 15:35:51 -08:00
Alexandre Bury
7218b6c879 Add SpannedStr and SpannedText 2018-02-16 14:11:33 -08:00
Alexandre Bury
fac6312227 Fix more clippy warnings 2018-01-22 16:42:51 -08: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
39405ba1ec Refactor spans and markup
We now use mostly indexed spans into a source string.
Indexed Spans can still be resolved to a string slice when needed.
2018-01-15 13:53:27 -08:00
Alexandre Bury
4879d8cc71 Fix ending newline problem 2018-01-11 00:16:13 +01:00
Alexandre Bury
afb224b860 Protect against empty spans 2018-01-11 00:12:21 +01:00
Alexandre Bury
890b3f13e1 TextView: print styled spans of text 2018-01-10 23:58:29 +01:00
Alexandre Bury
6f468658e1 Add Plain markup implementation 2018-01-10 14:44:27 +01:00
Alexandre Bury
59d67e891c Keep StyledString markup-agnostic, push trait to methods 2018-01-10 14:02:54 +01:00
Alexandre Bury
7ecf5f540b Add markup::{Markup, StyledString} 2018-01-10 13:54:32 +01:00
Alexandre Bury
4383526ec0 Fix some clippy warnings 2018-01-09 15:20:07 +01:00
Alexandre Bury
f8588e74c1 Rustfmt 2018-01-09 15:17:49 +01:00
Alexandre Bury
ed94078218 Add span tests from markdown 2018-01-09 10:32:52 +01:00
Alexandre Bury
a2244f0ac1 Add markdown parser 2018-01-08 17:18:35 +01:00
Alexandre Bury
b59e480f60 Add missing imports 2018-01-08 13:15:28 +01:00
Alexandre Bury
c4670e5262 More utils re-organization 2018-01-08 12:33:43 +01:00
Alexandre Bury
7ac003c4de Re-organize utils module 2018-01-08 12:07:07 +01:00
Alexandre Bury
943da46e82 Add SpanListIterator 2018-01-08 01:25:30 +01:00
Alexandre Bury
1acde148be Implement From<Effect> and From<ColorStyle> for Style 2018-01-07 15:08:25 +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
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
Alexandre Bury
b021458352 Use more elegant saturating_sub 2017-08-01 09:47:08 -07:00