TextArea.UnicodeModes

From Xojo Documentation

Revision as of 16:59, 27 July 2020 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Enumeration
TextArea.UnicodeModes

New in 2020r1

The ways in which characters are represented for the purpose of counting when part of a selection or range.

Values

Enum Description
Native The native mode for the platform. Codepoints is the native mode for macOS and Windows. Characters is the native mode for Linux.
Characters Each logical character is counted as a single character regardless of how many bytes are actually required.
Codepoints Each logical character is counted as the number of Unicode Codepoints (bytes) it requires. An emoji, for example, requires two bytes.

Compatibility

Desktop projects on Linux, macOS and Windows operating systems.

See Also

TextArea Control.