Difference between revisions of "TextArea.UnicodeModes"

From Xojo Documentation

(Created page with "N/A")
 
 
Line 1: Line 1:
N/A
+
{{EnumerationBox
 +
| name=UnicodeModes
 +
| owner=TextArea
 +
| newinversion=2020r1
 +
}}
 +
{{Description | text= The ways in which characters are represented for the purpose of counting when part of a selection or range.}}
 +
 
 +
== Values ==
 +
{| class="genericTable"
 +
! width=5% | Enum
 +
! width=50% | 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.

Latest revision as of 16:59, 27 July 2020

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.