mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-18 15:19:19 +02:00
Docs: LazUtils/lazstringutils. Updates ShortDotsLine topic for deprecated routine.
This commit is contained in:
parent
d374385885
commit
b18bf9be0c
@ -448,15 +448,15 @@
|
|||||||
<var>ShortDotsLine</var> is a <var>String</var> function used to generate a shortened and "ellipsified" string for the value in Line.
|
<var>ShortDotsLine</var> is a <var>String</var> function used to generate a shortened and "ellipsified" string for the value in Line.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
ShortDotsLine calls <var>SpecialCharsToHex</var> to convert any control characters in Line to their representation as a hexadecimal character value.
|
ShortDotsLine calls <var>Utf8EscapeControlChars</var> to convert any control characters in Line to their representation as a hexadecimal character value.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
The value in the <var>MaxTextLen</var> constant is used as the maximum length for the "ellipsified" string value. If the number of UTF-8 codepoints in the line is larger than the value in MaxTextLen, the string is shortened to the maximum length and 3 (three) Period ('.') characters are appended to the return value.
|
The value in the <var>MaxTextLen</var> constant is used as the maximum length for the "ellipsified" string value. If the number of UTF-8 codepoints in the line is larger than the value in MaxTextLen, the string is shortened to the maximum length and 3 (three) Period ('.') characters are appended to the return value.
|
||||||
</p>
|
</p>
|
||||||
</descr>
|
</descr>
|
||||||
<seealso>
|
<seealso>
|
||||||
<link id="SpecialCharsToHex"/>
|
|
||||||
<link id="MaxTextLen"/>
|
<link id="MaxTextLen"/>
|
||||||
|
<link id="#lazutils.lazutf8.Utf8EscapeControlChars">Utf8EscapeControlChars</link>
|
||||||
</seealso>
|
</seealso>
|
||||||
</element>
|
</element>
|
||||||
<element name="ShortDotsLine.Result">
|
<element name="ShortDotsLine.Result">
|
||||||
|
Loading…
Reference in New Issue
Block a user