Commit Graph

9 Commits

Author SHA1 Message Date
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
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
a2244f0ac1 Add markdown parser 2018-01-08 17:18:35 +01:00