Skip to content

Commit 0118258

Browse files
Merge pull request livecode#7247 from livecodesam/dictionary_2_batch_20
[Dictionary] unicodeLabel to visible
2 parents 041c8c2 + 45cbe62 commit 0118258

File tree

9 files changed

+44
-40
lines changed

9 files changed

+44
-40
lines changed

docs/dictionary/command/unload.lcdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ Use the <unload> <command> to release memory used by a <cache|cached>
4242
If the <cachedURL> is still being <download|downloaded> with the <load>
4343
<command>, the <unload> command cancels the <download>.
4444

45-
The <unload> <command> can be used to cancel any <non-blocking> <FTP> or
46-
<HTTP> file transfer in progress, but it does not cancel file transfers
47-
that were initiated by using a <URL(keyword)> <container> in an
45+
The <unload> <command> can be used to cancel any <non-blocking> <ftp|FTP>
46+
or <http|HTTP> file transfer in progress, but it does not cancel file
47+
transfers that were initiated by using a <URL(keyword)> <container> in an
4848
<expression> or by putting something into a <URL(keyword)>.
4949

5050
The <unload> <command> removes the <cachedURL> from the <URLStatus>

docs/dictionary/command/unlock-menus.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Description:
2424
Use the <unlock menus> <command> to show changes in the <menu bar> to
2525
the user.
2626

27-
The <unlock menus> <command> sets the <lockMenus> <property> to true.
27+
The <unlock menus> <command> sets the <lockMenus> <property> to false.
2828

2929
When all pending handlers are finished executing, the <lockMenus>
3030
<property> is set to false, <undo|undoing> the <lock menus>

docs/dictionary/command/unlock-recent.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ When either the user or a handler navigates to a card, that card is
2828
placed on the recent cards list, and the user can return to it with the
2929
<go> command or by choosing View → Go Recent from the menubar.
3030

31-
<unlock recent> <command> sets the <lockRecent> <property> to false.
31+
The <unlock recent> <command> sets the <lockRecent> <property> to false.
3232
When all pending <handler|handlers> are finished <execute|executing>,
3333
the <lockRecent> <property> is automatically set to false.
3434

docs/dictionary/function/version.lcdoc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Syntax: the version
77
Syntax: version()
88

99
Summary:
10-
<return|Returns> the <application engine's> version number.
10+
<return|Returns> the <engine|application engine's> version number.
1111

1212
Introduced: 1.0
1313

@@ -40,6 +40,5 @@ LiveCode that was used to create it.
4040

4141
References: function (control structure), environment (function),
4242
libURLVersion (function), buildNumber (function), application (glossary),
43-
standalone application (glossary), return (glossary), engine (glossary),
44-
application engine (glossary)
43+
standalone application (glossary), return (glossary), engine (glossary)
4544

docs/dictionary/property/unicodeLabel.lcdoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,7 @@ Introduced: 5.5
1515
Deprecated:
1616
In LiveCode 7.0 the language was changed to handle unicode
1717
transparently. This means that language functionality which previously
18-
aided unicode text manipulation is no longer required. This property
19-
should not be used in new code; simply set the label as normal.
20-
Assigning values other than those returned from uniEncode to this
21-
property will not produce the desired results.The following are now
22-
equivalent:
23-
24-
set the unicodeLabel of button 1 to tText
25-
set the label of button 1 to textDecode(tText, "UTF16")
18+
aided unicode text manipulation is no longer required.
2619

2720
OS: mac, windows, linux, ios, android
2821

@@ -62,6 +55,14 @@ constant in the <unicodeLabel>.
6255
If an object's <unicodeLabel> or label is empty, the object's name
6356
property is displayed instead.
6457

58+
>*Important:* This property should not be used in new code; simply set
59+
the label as normal. Assigning values other than those returned from
60+
uniEncode to this property will not produce the desired results. The
61+
following are now equivalent:
62+
63+
set the unicodeLabel of button 1 to tText
64+
set the label of button 1 to textDecode(tText, "UTF16")
65+
6566
References: effective (keyword), label (property), encoding (property),
6667
menuHistory (property)
6768

docs/dictionary/property/unicodePlainText.lcdoc

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

2621
OS: mac, windows, linux
2722

@@ -39,7 +34,7 @@ The <unicodePlainText> of a field is a string.
3934
Description:
4035
Use the <unicodePlainText> property to get the content of a field as
4136
plain text with any listStyle properties being converted appropriately
42-
into plain-text for the paragraphs the affect.
37+
into plain-text for the paragraphs they affect.
4338

4439
When you get a field's <unicodePlainText>, the field's text is converted
4540
to plain text with any listStyle property being converted appropriately
@@ -49,6 +44,12 @@ Any paragraphs with listStyle set are prefixed by an appropriate
4944
plain-text form of the bullet or index. The property returns text
5045
encoded in UTF-16 in host byte-order.
5146

47+
> Important: As this property is deprecated, it should not be used in new
48+
> code; simply get the plainText as normal. The following are now equivalent:
49+
50+
get the unicodePlainText of field 1
51+
get textEncode(the plainText of field 1, "UTF16")
52+
5253
References: plainText (property), dontWrap (property),
5354
unicodeFormattedText (property), formattedText (property)
5455

docs/dictionary/property/unicodeTitle.lcdoc

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,7 @@ Introduced: 2.9
1515
Deprecated:
1616
In LiveCode 7.0 the language was changed to handle unicode
1717
transparently. This means that language functionality which previously
18-
aided unicode text manipulation is no longer required. This property
19-
should not be used in new code; simply set the title as normal.
20-
Assigning values other than those returned from uniEncode to this
21-
property will not produce the desired results.The following are now
22-
equivalent:
23-
24-
set the unicodeTitle of this stack to tText
25-
set the title of this stack to textDecode(tText, "UTF16")
18+
aided unicode text manipulation is no longer required.
2619

2720
OS: mac, windows, linux, ios, android
2821

@@ -47,5 +40,14 @@ Windows 98SE and Windows ME do not support unicode window titles. On
4740
these systems, the string displayed in the title bar will be the closest
4841
approximation possible on the running system.
4942

43+
>*Important:* As this property is deprecated, it should not be used in new
44+
> code; simply set the title as normal. Assigning values other than those
45+
> returned from uniEncode to this property will not produce the desired
46+
> results. The following are now equivalent:
47+
48+
set the unicodeTitle of this stack to tText
49+
set the title of this stack to textDecode(tText, "UTF16")
50+
5051
References: uniEncode (function), label (property)
5152

53+

docs/dictionary/property/unicodeTooltip.lcdoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,7 @@ Introduced: 5.5
1515
Deprecated:
1616
In LiveCode 7.0 the language was changed to handle unicode
1717
transparently. This means that language functionality which previously
18-
aided unicode text manipulation is no longer required. This property
19-
should not be used in new code; simply set the tooltip as normal.
20-
Assigning values other than those returned from uniEncode to this
21-
property will not produce the desired results.The following are now
22-
equivalent:
23-
24-
set the unicodeTooltip of button 1 to tText
25-
set the tooltip of button 1 to textDecode(tText, "UTF16")
18+
aided unicode text manipulation is no longer required.
2619

2720
OS: mac, windows, linux, ios, android
2821

@@ -66,6 +59,14 @@ about what a control does.
6659

6760
Tooltips appear only when the Browse tool is selected.
6861

62+
> As this property is now deprecated, it should not be used in new code;
63+
> simply set the tooltip as normal. Assigning values other than those
64+
> returned from uniEncode to this property will not produce the desired
65+
> results. The following are now equivalent:
66+
67+
set the unicodeTooltip of button 1 to tText
68+
set the tooltip of button 1 to textDecode(tText, "UTF16")
69+
6970
References: tooltip (property), encoding (property), label (property)
7071

7172
Tags: ui

docs/dictionary/property/visible.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ is false, and vice versa.
6161

6262
References: show (command), group (command), hide (command),
6363
object (glossary), property (glossary), grouped control (glossary),
64-
group (glossary), card (keyword), card (object), control (object),
64+
group (glossary), control (glossary), card (keyword), card (object),
6565
showInvisibles (property), invisible (property)
6666

6767
Tags: ui

0 commit comments

Comments
 (0)