Expand description
Structs§
- Lines
- Iterator over lines.
Functions§
- count_
lines - Calculates a number of lines.
- count_
tabs - Returns a list of tabs (
\t
) in a string.. - get_
char_ width - Returns a char width.
- get_
line_ width - Returns a string width.
- get_
lines - Splits the string by lines.
- get_
string_ width - Returns a string width (accouting all characters).
- get_
text_ dimension - Returns string width and count lines of a string.
It’s a combination of
get_text_width
andcount_lines
. - get_
text_ width - Returns a max string width of a line.
- replace_
tab - Replaces tabs in a string with a given width of spaces.