euporie.core.widgets.formatted_text_area.split_lines
- euporie.core.widgets.formatted_text_area.split_lines(fragments: Iterable[OneStyleAndTextTuple]) Iterable[StyleAndTextTuples]
Take a single list of (style_str, text) tuples and yield one such list for each line. Just like str.split, this will yield at least one item.
- Parameters:
fragments – Iterable of
(style_str, text)
or(style_str, text, mouse_handler)
tuples.