From b18bf9be0c2372c962113ff757a61bb2526051e8 Mon Sep 17 00:00:00 2001
From: dsiders
- ShortDotsLine calls SpecialCharsToHex to convert any control characters in Line to their representation as a hexadecimal character value. + ShortDotsLine calls Utf8EscapeControlChars to convert any control characters in Line to their representation as a hexadecimal character value.
The value in the MaxTextLen 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.