Skip to content

Commit 91fffd4

Browse files
Merge pull request livecode#6708 from livecodesam/dictionary_batch_22
[Dictionary] 'of' to 'pageHeights'
2 parents f10ebf0 + 1a3487a commit 91fffd4

15 files changed

Lines changed: 82 additions & 109 deletions

docs/dictionary/command/open-driver.lcdoc

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,23 +54,23 @@ obtain a list of available <peripheral device|devices> by reading the
5454
file "/dev/tty".
5555

5656
Description:
57-
Use the <open driver> <command> to communicate with USB <peripheral
58-
device|devices>, <peripheral device|devices> attached to a serial port
59-
other than the modem and printer port, and other <peripheral
60-
device|peripheral devices>.
57+
Use the <open driver> <command> to communicate with USB
58+
<peripheral device|devices>, <peripheral device|devices>
59+
attached to a serial port other than the modem and
60+
printer port, and other <peripheral device|peripheral devices>.
6161

6262
If you don't specifyormode, the driver is opened in text mode. (For most
6363
devices, you should use binary mode.)
6464

65-
Use theform to open the driver for reading. If the driver is opened for
65+
Use the *read* form to open the driver for reading. If the driver is opened for
6666
reading, you can use the read from driver <command> to get data from the
6767
<peripheral device|device>, but you can't send data to it.
6868

69-
Use theorm to open the driver for writing. If the driver is opened for
69+
Use the *write* form to open the driver for writing. If the driver is opened for
7070
writing, you can use the <write to driver> <command> to send data to the
7171
<peripheral device|device> but you can't read from it.
7272

73-
Use theform to open the driver for both reading and writing. If the
73+
Use the *update* form to open the driver for both reading and writing. If the
7474
driver is opened for update, you can use both the read from driver and
7575
<write to driver> <command|commands> to send data to the <peripheral
7676
device|device> or get data from it.
@@ -84,7 +84,8 @@ device|device> or get data from it.
8484
> <OS X|OS X systems>.
8585

8686
On Windows systems, the <open driver> <command> is equivalent to the
87-
<open file> <command> when the <driverName> is <COM1:>, <COM2:>, etc.
87+
<open file> <command> when the <driverName> is <COMn:|COM1:>,
88+
<COMn:|COM2:>, etc.
8889

8990
If the device is a serial port, you can set the serialControlString
9091
<property> to specify the speed, parity, and other settings. Set the
@@ -96,8 +97,8 @@ The <encoding> parameter was introduced in version 7.0
9697
References: write to driver (command), open file (command),
9798
function (control structure), property (glossary), Unix (glossary),
9899
statement (glossary), command (glossary), peripheral device (glossary),
99-
OS X (glossary), COM1: (keyword), COM2: (keyword),
100-
serialControlString (property), recordInput (property)
100+
OS X (glossary), COMn: (keyword), serialControlString (property),
101+
recordInput (property)
101102

102103
Tags: networking
103104

docs/dictionary/command/open-file.lcdoc

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ read-only media.
5858

5959
Description:
6060
Use the <open file> <command> to create a <file(keyword)> or prepare an
61-
existing <file(keyword)> for use by the <read from file> or <write to
62-
file> <command|commands>.
61+
existing <file(keyword)> for use by the <read from file> or
62+
<write to file> <command|commands>.
6363

6464
You can optionally specify either text or binary mode. If you specify
6565
text mode, when you use the write to file <command> to put data in the
@@ -79,7 +79,7 @@ opened for writing, the write to file <command> replaces the
7979
<file(glossary)|file's> contents from the starting point to the end of
8080
the file.
8181

82-
>*Important:* : Before opening any file for writing, remember to back up
82+
>*Important:* Before opening any file for writing, remember to back up
8383
> the file contents as LiveCode will erase them even if you do not write
8484
> to the file after opening it.
8585

@@ -103,10 +103,10 @@ in the <fileType> <property>.
103103
Any files you have opened are closed automatically when you quit the
104104
application.
105105

106-
You can use the <open file> <command> to open a serial <port> on <Mac
107-
OS> or <Windows|Windows systems>. On <Mac OS|Mac OS systems>, specify
108-
either "printer:" or "modem:". On Windows systems, specify either
109-
"COM1:", "COM2:", or up to "COM9:". Set the serialControlString
106+
You can use the <open file> <command> to open a serial <port> on
107+
<Mac OS> or <Windows|Windows systems>. On <Mac OS|Mac OS systems>,
108+
specify either "printer:" or "modem:". On Windows systems, specify
109+
either "COM1:", "COM2:", or up to "COM9:". Set the serialControlString
110110
<property> before opening the <port> to specify the baud rate and other
111111
settings.
112112

@@ -151,13 +151,14 @@ BOM is ignored.
151151
References: write to file (command), open file (command), put (command),
152152
constant (command), read from file (command), get (command),
153153
close file (command), answer file (command), return (constant),
154-
function (control structure), tempName (function), return (glossary),
155-
null (glossary), property (glossary), file (glossary), port (glossary),
156-
command (glossary), Windows (glossary), textDecode (glossary),
157-
OS X (glossary), type signature (glossary), creator signature (glossary),
158-
result (glossary), textEncode (glossary), Mac OS (glossary),
159-
Unix (glossary), ASCII (glossary), characters (keyword), file (keyword),
160-
URL keyword (keyword), fileType (property), umask (property)
154+
function (control structure), result (function), tempName (function),
155+
textDecode (function), textEncode (function), return (glossary),
156+
null (glossary), property (glossary), file (glossary), port (glossary),
157+
command (glossary), Windows (glossary), textDecode (glossary),
158+
OS X (glossary), type signature (glossary), creator signature (glossary),
159+
Mac OS (glossary), Unix (glossary), ASCII (glossary),
160+
characters (keyword), file (keyword), URL (keyword), fileType (property),
161+
umask (property)
161162

162163
Tags: file system
163164

docs/dictionary/command/open-printing-to-pdf.lcdoc

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,19 @@ Description:
3939
Use the <open printing to pdf> <command> to print multiple cards
4040
directly to a pdf file.
4141

42-
The open printing to pdf command starts a print loop that outputs
43-
directly to a PDF file rather that the currently configured printer.
42+
The open printing to pdf command starts a print loop that outputs
43+
directly to a PDF file rather that the currently configured printer.
4444

4545

4646
The following handler prints cards that have been collected in a global
4747
variable:
4848

4949
on printSomeCards
50-
global cardsToPrint
51-
open printing to pdf "test.pdf"
52-
repeat with x = 1 to the number of lines of cardsToPrint
53-
54-
print card (line x of cardsToPrint)
55-
end repeat
50+
global cardsToPrint
51+
open printing to pdf "test.pdf"
52+
repeat with x = 1 to the number of lines of cardsToPrint
53+
print card (line x of cardsToPrint)
54+
end repeat
5655
close printing -- send group of cards to printer
5756

5857
end printSomeCards

docs/dictionary/command/open-printing.lcdoc

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,12 @@ The following handler prints cards that have been collected in a global
5757
variable:
5858

5959
on printSomeCards
60-
global cardsToPrint
61-
open printing with dialog
62-
repeat with x = 1 to the number of lines of cardsToPrint
63-
64-
print card (line x of cardsToPrint)
65-
end repeat
66-
close printing -- send group of cards to printer
67-
60+
global cardsToPrint
61+
open printing with dialog
62+
repeat with x = 1 to the number of lines of cardsToPrint
63+
print card (line x of cardsToPrint)
64+
end repeat
65+
close printing -- send group of cards to printer
6866
end printSomeCards
6967

7068

docs/dictionary/command/open-process.lcdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ BOM is ignored.
142142
References: kill (command), close process (command),
143143
read from process (command), write to process (command),
144144
exit (control structure), screenName (function), command (glossary),
145-
OS X (glossary), textDecode (glossary), Windows (glossary),
146-
Mac OS (glossary), Unix (glossary), textEncode (glossary),
145+
OS X (glossary), textDecode (function), Windows (glossary),
146+
Mac OS (glossary), Unix (glossary), textEncode (keyword),
147147
background (glossary), process (glossary), characters (keyword),
148148
hideConsoleWindows (property)
149149

docs/dictionary/command/option.lcdoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ Use the <option> <command> in a <mouseDown> <handler> to display the
3535
<menu> :
3636

3737
on mouseDown
38-
option stack "Help Menu"
39-
38+
option stack "Help Menu"
4039
end mouseDown
4140

4241

docs/dictionary/function/openFiles.lcdoc

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

99
Summary:
10-
<return|Returns> a list of <files> that have been opened with the <open
11-
file> <command>, but not yet closed with the <close file> <command>.
10+
<return|Returns> a list of <files> that have been opened with the
11+
<open file> <command>, but not yet closed with the <close file> <command>.
1212

1313
Introduced: 1.0
1414

docs/dictionary/keyword/of.lcdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Syntax: of
66

77
Summary:
88
Designates the <object(glossary)> a <property> belongs to, or the
9-
<parameter> of a <function>, or the <string> that contains a <chunk
10-
expression>.
9+
<parameter> of a <function>, or the <string> that contains a
10+
<chunk expression>.
1111

1212
Introduced: 1.0
1313

docs/dictionary/message/openControl.lcdoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Syntax: openControl
66

77
Summary:
88
Sent to a <group> right after you go to the card that contains it or to
9-
a <background group> right after going from a card where it was is not
9+
a <background|background group> right after going from a card where it was is not
1010
placed on to one where it is.
1111

1212
Associations: group
@@ -28,8 +28,8 @@ Handle the <openControl> message to change a group's objects or perform
2828
other updates, when a card with the group on is visited.
2929

3030
For groups with their <backgroundBehavior> <property> set to true, the
31-
<openControl> message is sent immediately after the <openBackground
32-
message> is sent to the card being opened. For non-background groups, it
31+
<openControl> message is sent immediately after the <openBackground>
32+
<message> is sent to the card being opened. For non-background groups, it
3333
is sent after the <openCard> <message>.
3434

3535
For nested groups, the <openControl> message is sent to the parent group
@@ -38,7 +38,7 @@ passes though each child group in reverse layer order (i.e from highest
3838
to lowest).
3939

4040
References: preOpenBackground (message), openCard (message),
41-
openBackground message (message), preOpenControl (message),
41+
openBackground (message), preOpenControl (message),
4242
closeControl (message), message (glossary), group (object),
43-
background group (property), backgroundBehavior (property), property (glossary)
43+
backgroundBehavior (property), property (glossary), background (glossary)
4444

docs/dictionary/message/openField.lcdoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ a <handler>, the <focusIn> <message> is sent to it.
3636

3737
References: select (command), select (glossary), handler (glossary),
3838
lock (glossary), message (glossary), unlock (glossary),
39-
menuMode (glossary), active control (glossary), combo box (glossary),
40-
selection (keyword), field (keyword), focusIn (message),
41-
exitField (message), closeField (message), field (object),
42-
button (object)
39+
active control (glossary), combo box (glossary), selection (keyword),
40+
field (keyword), focusIn (message), exitField (message),
41+
closeField (message), field (object), button (object),
42+
menuMode (property)
4343

4444
Tags: ui
4545

0 commit comments

Comments
 (0)