splits a text into indented lines
None
The result is a list of tuples with two fields:
The text_line still contains the trailing line feed but leading whitespace is removed.
If a line does not contain any text (whitespace does not count as text) then the whole tuple is replaced with the special value std::undefined.
std::split_into_lines | |
std::split_into_groups | splits already indented lines into groups |