mirror of
https://github.com/20kdc/OC-KittenOS.git
synced 2024-11-23 10:58:06 +11:00
Fix fmtText documentation
This commit is contained in:
parent
b75dc370dc
commit
0b7e6557a5
@ -35,15 +35,13 @@ It has two functions for this task:
|
||||
not reduced.
|
||||
|
||||
fmtText(text, width):
|
||||
Formats the given text to a given
|
||||
width in a wrapping fashion.
|
||||
Returns a series of lines that are
|
||||
padded to the given width.
|
||||
Formats the given safeTextFormat'd
|
||||
string to a list of lines with a
|
||||
given max. width and word wrap, if
|
||||
possible (words will be broken by
|
||||
letter if necessary)
|
||||
If there are newlines in the text,
|
||||
these newlines are respected.
|
||||
If possible, the wrapping is a word
|
||||
wrap style, but words are broken
|
||||
if necessary.
|
||||
If the width is less than 2, then
|
||||
this function may fail in various
|
||||
ways, up to and including freezes.
|
||||
|
Loading…
Reference in New Issue
Block a user