Module text

Source
Expand description

Text formatter.

Structsยง

Table ๐Ÿ”’
TextFormatter
TextRenderer ๐Ÿ”’

Functionsยง

fill_cell ๐Ÿ”’
Formats a cell. Word-wraps based on width, and adjusts based on alignment.
fill_row ๐Ÿ”’
Formats a row, filling cells with spaces and word-wrapping text.
split_chunks ๐Ÿ”’
Splits the text on whitespace.