Skip to content

Commit 12c6ee0

Browse files
author
livecodesam
authored
Update unicodeFormattedText.lcdoc
1 parent 2c85c1e commit 12c6ee0

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs/dictionary/property/unicodeFormattedText.lcdoc

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,7 @@ Introduced: 4.6
1717
Deprecated:
1818
In LiveCode 7.0 the language was changed to handle unicode
1919
transparently. This means that language functionality which previously
20-
aided unicode text manipulation is no longer required. This property
21-
should not be used in new code; simply get the formattedText as normal.
22-
The following are now equivalent:
23-
24-
get the unicodeFormattedText of field 1
25-
get textEncode(the formattedText of field 1, "UTF16")
20+
aided unicode text manipulation is no longer required.
2621

2722
OS: mac, windows, linux, ios, android
2823

@@ -57,6 +52,13 @@ unwrapped before being put in the field. Double end-of-line characters
5752
are converted to a single end-of-line character, and single end-of-line
5853
characters are converted to spaces.
5954

55+
> *Important:* As this property is deprecated, it should not be used in
56+
> new code; simply get the formattedText as normal. The following are
57+
> now equivalent:
58+
59+
get the unicodeFormattedText of field 1
60+
get textEncode(the formattedText of field 1, "UTF-16")
61+
6062
References: formattedText (property), dontWrap (property)
6163

6264
Tags: text processing

0 commit comments

Comments
 (0)