mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-01 03:41:41 +02:00
Docs: LazUtils/lazutf8. Updates the UTF8WrapText for changes in 4f8f408f
.
This commit is contained in:
parent
b11c3720fe
commit
7689b1805e
@ -2027,7 +2027,7 @@ number of byte values in p to the return value for the function.
|
|||||||
|
|
||||||
<element name="UTF8RPos">
|
<element name="UTF8RPos">
|
||||||
<short>
|
<short>
|
||||||
Gets the right-most position in the source string for the substring value.
|
Gets the right-most position in the Source string for the value in Substr.
|
||||||
</short>
|
</short>
|
||||||
<descr></descr>
|
<descr></descr>
|
||||||
<seealso>
|
<seealso>
|
||||||
@ -2045,7 +2045,9 @@ Gets the right-most position in the source string for the substring value.
|
|||||||
</element>
|
</element>
|
||||||
|
|
||||||
<element name="UTF8WrapText">
|
<element name="UTF8WrapText">
|
||||||
<short>Creates a word wrapped version of the specified string.</short>
|
<short>
|
||||||
|
Creates a word-wrapped version of the specified string.
|
||||||
|
</short>
|
||||||
<descr>
|
<descr>
|
||||||
<p>
|
<p>
|
||||||
<var>UTF8WrapText</var> is an overloaded <var>String</var> function used to
|
<var>UTF8WrapText</var> is an overloaded <var>String</var> function used to
|
||||||
@ -2061,12 +2063,19 @@ and #9 (Tab). <var>BreakStr</var> contains the end-of-line sequence used to
|
|||||||
represent a line break inserted into the return value.
|
represent a line break inserted into the return value.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Use <var>Indent</var> to specify the indentation inserted at the beginning of
|
Use <var>Indent</var> to specify the number of Space (#32) characters inserted
|
||||||
each line in the word-wrapped values.
|
as indentation at the beginning of each word-wrapped line. The default value is
|
||||||
|
0 (zero) and omits indentation in the word-wrapped lines. A negative value in
|
||||||
|
Indent causes the argument to be set to 0.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
The Indent argument affects the number of UTF-8 characters allowed in each
|
||||||
|
word-wrapped line. When set to a positive non-zero value, the maximum number of
|
||||||
|
characters allowed per line is <b>MaxCol - Indent</b>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
No actions are performed in the function when S is an empty string (''),
|
No actions are performed in the function when S is an empty string (''),
|
||||||
MaxCol is set to 0 (zero), or BreakChars is an empty set.
|
MaxCol is set to 0 (zero), or BreakChars is an empty set ([]).
|
||||||
</p>
|
</p>
|
||||||
</descr>
|
</descr>
|
||||||
<version>
|
<version>
|
||||||
|
Loading…
Reference in New Issue
Block a user