From 0b7e6557a5cbd46d08568f61ec4734adee35edc5 Mon Sep 17 00:00:00 2001 From: 20kdc Date: Mon, 23 Apr 2018 22:39:01 +0100 Subject: [PATCH] Fix fmtText documentation --- repository/docs/ul-fmttx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/repository/docs/ul-fmttx b/repository/docs/ul-fmttx index 21a6ea6..7e77916 100644 --- a/repository/docs/ul-fmttx +++ b/repository/docs/ul-fmttx @@ -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.