Better clifmt/text system #32
Labels
k: refactor
reorganization of existing code without function changes
p: tuig-iosys
tuig-iosys crate
s: rendering
rendering subsystem (not user interface)
Milestone
Text
should be a blob of text with potentially several different formats within it, rather than a single string with one format. Then what's currentlyText
could probably beSegment
. That would allow for convenience functions like checking equivalence, merging/minimizing, iterating overCell
s, etc.Text
toSegment
,text1!
tosegment!
, etc.struct Text
which contains aVec<Segment>
, and tweaktext!
to return thatCell
sPartialEq
to compare cell by celltext_input
, but probably more) to simplify with the new text systemSegments
The text was updated successfully, but these errors were encountered: