Module cursive::utils::lines::spans [−][src]
Compute lines on multiple spans of text.
The input is a list of consecutive text spans.
Computed rows will include a list of span segments. Each segment include the source span ID, and start/end byte offsets.
Structs
LinesIterator |
Generates rows of text in constrainted width. |
Row |
A list of segments representing a row of text |
Segment |
Refers to a part of a span |