Skip to content

Commit c4e0a83

Browse files
Merge pull request livecode#7245 from livecodesam/dictionary_2_batch_19
[Dictionary] templateAudioClip to unicodeFormattedText
2 parents 8126030 + 6b7ba0a commit c4e0a83

9 files changed

Lines changed: 37 additions & 35 deletions

File tree

docs/dictionary/keyword/templateAudioClip.lcdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ The <templateAudioClip> can be thought of as a special, abstract
2727
<templateAudioClip> is zero.
2828

2929
You can use the <set> <command> to set the <properties> of the
30-
<templateAudioClip> before creating an <audio clip>. The new <audio
31-
clip> has the <properties> of the <templateAudioClip>, by <default>.
30+
<templateAudioClip> before creating an <audio clip>. The new
31+
<audio clip> has the <properties> of the <templateAudioClip>, by <default>.
3232
Changing the <properties> of the <templateAudioClip> does not affect
3333
existing <audio clip|audio clips>.
3434

docs/dictionary/message/touchEnd.lcdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ end touchEnd
2020

2121
Parameters:
2222
pTouchID:
23-
A number which uniquely identifies an individual physical touch action from
23+
A number which uniquely identifies an individual physical touch action from
2424
a sequence of touch messages
2525

2626
Description:
2727
Handle the <touchEnd> message to perform an action when the user ends a
2828
touch sequence.
2929

30-
The <touchEnd> message is sent to the control which received the
30+
The <TouchEnd> message is sent to the control which received the
3131
<touchStart> message which began the touch sequence.
3232

33-
The <touchID> parameter is a number which uniquely identifies a sequence of
33+
The <pTouchID> parameter is a number which uniquely identifies a sequence of
3434
touch messages corresponding to an individual, physical touch action.
3535
All such sequences start with a <touchStart> message, have one or more
3636
<touchMove> messages and finish with either a <touchEnd> or a

docs/dictionary/property/text.lcdoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,9 @@ These two statements are equivalent:
107107

108108
References: target (function), property (glossary), keyword (glossary),
109109
binary file (glossary), stack menu (glossary), button menu (glossary),
110-
button (keyword), image (keyword), field (keyword),
111-
menu keyword (keyword), string (keyword), menu (keyword), stack (object),
112-
button (object), menuName (property), style (property),
113-
unicodeText (property), paintCompression (property)
110+
button (keyword), image (keyword), field (keyword), string (keyword),
111+
menu (keyword), stack (object), button (object), menuName (property),
112+
style (property), unicodeText (property), paintCompression (property)
114113

115114
Tags: text processing
116115

docs/dictionary/property/textHeight.lcdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ baseline of one line and the baseline of the next. The minimum
4242
>*Note:* If you change the field's textSize, LiveCode automatically sets
4343
> the <textHeight> to trunc(4/3 * the textSize of <field>). For example,
4444
> if the textSize is set to 12, the <textHeight> is set to 16 by
45-
> <default>. If the textSize is set to 14, the <textHeight> is set to
46-
> 18. So, if you want to change the <textHeight> and <textSize>, set the
47-
> <textSize> first, then set the <textHeight>.
45+
> <default>. If the textSize is set to 14, the <textHeight> is set
46+
> to 18. So, if you want to change the <textHeight> and <textSize>, set
47+
> the <textSize> first, then set the <textHeight>.
4848

4949
If a field's <fixedLineHeight> <property> is false, the <textHeight> of
5050
the <field> has no effect: in this case, the text height of each line is

docs/dictionary/property/thumbPosition.lcdoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ If the style of the <scrollbar(keyword)> is scrollbar or progress, the
5252
maximum value of the <thumbPosition> is the
5353
<scrollbar(object)|scrollbar's> <endValue> minus the <thumbSize>.
5454

55-
References: scrollbar thumb (glossary), property (glossary),
56-
scrollbar (keyword), default (keyword), scrollbarLineInc (message),
57-
scrollbarBeginning (message), scrollbar (object), control (object),
58-
endValue (property), properties (property), thumbSize (property),
59-
startValue (property)
55+
References: control (glossary), scrollbar thumb (glossary),
56+
property (glossary), scrollbar (keyword), default (keyword),
57+
scrollbarLineInc (message), scrollbarBeginning (message),
58+
scrollbar (object), endValue (property), properties (property),
59+
thumbSize (property), startValue (property)
6060

6161
Tags: ui
6262

docs/dictionary/property/topRight.lcdoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ Description:
3636
Use the <topRight> <property> to change the placement of a <control> or
3737
window.
3838

39-
The <topRight> of a <stack> is in <absolute (screen)
40-
coordinates(glossary)>. The first <item> (the <right>) of a
41-
<card|card's> <topRight> <property> is always the width of the <stack
42-
window>; the second <item> (the <top>) is always zero. The <topRight> of
43-
a <group> or <control> is in <relative (window) coordinates(glossary)>.
39+
The <topRight> of a <stack> is in
40+
<absolute coordinates|absolute (screen) coordinates>. The first <item>
41+
(the <right>) of a <card|card's> <topRight> <property> is always the
42+
width of the <stack window>; the second <item> (the <top>) is
43+
always zero. The <topRight> of a <group> or <control> is in
44+
<relative coordinates|relative (window) coordinates>.
4445

4546
In window coordinates, the point 0,0 is at the top left of the stack
4647
window. In screen coordinates, the point 0,0 is at the top left of the

docs/dictionary/property/unboundedVScroll.lcdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Example:
2020
set the unboundedVScroll of group "items" to true
2121

2222
Description:
23-
Use the <unboundedVScroll> property to turn automatic clamping of the v
24-
<Scroll> offset of a group on or off.
23+
Use the <unboundedVScroll> property to turn automatic clamping of the
24+
<vScroll> offset of a group on or off.
2525

2626
When the <unboundedVScroll> property of a <group> is set to true and the
2727
<vScrollbar> is not visible, it is possible to set the <vScroll>
@@ -34,7 +34,7 @@ outside of the content bounds, the <group> is scrolled to bring the
3434
<vScroll> value within the appropriate range.
3535

3636
References: group (object), vScroll (property),
37-
unboundedHScroll (property), vScrollbar (property), Scroll (property)
37+
unboundedHScroll (property), vScrollbar (property)
3838

3939
Tags: ui
4040

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

docs/glossary/u/Unicode.lcdoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ Synonyms: unicode
55
Type: glossary
66

77
Description:
8-
A standard for representing <character|characters> as <2-byte> numbers,
9-
also called UTF-16. Unicode contains enough <character|characters> and
10-
symbols to write most human languages.
8+
A standard for representing <character|characters> as 2-byte numbers,
9+
also called UTF-16. Unicode contains enough <character|characters>
10+
and symbols to write most human languages.
1111

12-
References: character (glossary), 2-byte (glossary)
12+
References: character (glossary)
1313

1414
Tags: text processing
1515

0 commit comments

Comments
 (0)