Syntax highlighting while editing

This commit is contained in:
Jeremy Soller 2022-10-26 19:31:33 -06:00
parent 3444b30d7e
commit 846c646043
2 changed files with 108 additions and 90 deletions

View file

@ -175,7 +175,7 @@ impl fmt::Display for TextMetrics {
pub struct TextBufferLine<'a> {
text: String,
attrs_list: AttrsList<'a>,
pub attrs_list: AttrsList<'a>,
shape_opt: Option<ShapeLine>,
layout_opt: Option<Vec<LayoutLine>>,
}