include/i18nutil/unicode.hxx | 6 ++++++ 1 file changed, 6 insertions(+)
New commits: commit e33613b16223b22640304c2ca63b49ce2957fb49 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Sun Feb 2 15:15:25 2025 +0500 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Sun Feb 2 12:50:24 2025 +0100 Add a comment to clarify what kind of inputs the class handles Change-Id: Ic9d343a590a8c94a2545bca2c5442c484dd60190 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/181008 Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> Tested-by: Jenkins diff --git a/include/i18nutil/unicode.hxx b/include/i18nutil/unicode.hxx index ddb75784784f..0ee7d1c30d37 100644 --- a/include/i18nutil/unicode.hxx +++ b/include/i18nutil/unicode.hxx @@ -105,6 +105,12 @@ public: Build an input string of valid UTF16/UCS4 units to toggle. -do not call the other functions until the input process is complete -build string from Right to Left. (Start from the character to the left of the cursor: move left.) + - accepted input: + - a sequence of 2 to 8 hex characters not preceded by U+, to convert to Unicode; + - a sequence of up to 256 concatenated U+ notation - like u+xxxxU+yyyy, where xxxx and + yyyy are sequences of 2 to 8 hexadecimal digits - to convert it all to Unicode; + - a single (maybe combined) "symbol" - i.e., one or several codepoints that constitute + one glyph - to convert from Unicode to U+ notation. */ bool AllowMoreInput(sal_uInt32 uChar);