From 1a3487ab72d64258d04b1f66fa527121021d928f Mon Sep 17 00:00:00 2001 From: livecodesam Date: Fri, 5 Oct 2018 12:48:10 +0100 Subject: [PATCH] [Dictionary] of to pageHeights --- docs/dictionary/command/open-driver.lcdoc | 21 ++++---- docs/dictionary/command/open-file.lcdoc | 29 +++++----- .../command/open-printing-to-pdf.lcdoc | 15 +++--- docs/dictionary/command/open-printing.lcdoc | 14 +++-- docs/dictionary/command/open-process.lcdoc | 4 +- docs/dictionary/command/option.lcdoc | 3 +- docs/dictionary/function/openFiles.lcdoc | 4 +- docs/dictionary/keyword/of.lcdoc | 4 +- docs/dictionary/message/openControl.lcdoc | 10 ++-- docs/dictionary/message/openField.lcdoc | 8 +-- docs/dictionary/message/optionKeyDown.lcdoc | 8 +-- .../message/orientationChanged.lcdoc | 2 +- docs/dictionary/property/opaque.lcdoc | 7 ++- docs/dictionary/property/outerglow.lcdoc | 54 ++++++------------- docs/dictionary/property/pageHeights.lcdoc | 8 +-- 15 files changed, 82 insertions(+), 109 deletions(-) diff --git a/docs/dictionary/command/open-driver.lcdoc b/docs/dictionary/command/open-driver.lcdoc index d5325026137..6e05a60c284 100644 --- a/docs/dictionary/command/open-driver.lcdoc +++ b/docs/dictionary/command/open-driver.lcdoc @@ -54,23 +54,23 @@ obtain a list of available by reading the file "/dev/tty". Description: -Use the to communicate with USB , attached to a serial port -other than the modem and printer port, and other . +Use the to communicate with USB +, +attached to a serial port other than the modem and +printer port, and other . If you don't specifyormode, the driver is opened in text mode. (For most devices, you should use binary mode.) -Use theform to open the driver for reading. If the driver is opened for +Use the *read* form to open the driver for reading. If the driver is opened for reading, you can use the read from driver to get data from the , but you can't send data to it. -Use theorm to open the driver for writing. If the driver is opened for +Use the *write* form to open the driver for writing. If the driver is opened for writing, you can use the to send data to the but you can't read from it. -Use theform to open the driver for both reading and writing. If the +Use the *update* form to open the driver for both reading and writing. If the driver is opened for update, you can use both the read from driver and to send data to the or get data from it. @@ -84,7 +84,8 @@ device|device> or get data from it. > . On Windows systems, the is equivalent to the - when the is , , etc. + when the is , +, etc. If the device is a serial port, you can set the serialControlString to specify the speed, parity, and other settings. Set the @@ -96,8 +97,8 @@ The parameter was introduced in version 7.0 References: write to driver (command), open file (command), function (control structure), property (glossary), Unix (glossary), statement (glossary), command (glossary), peripheral device (glossary), -OS X (glossary), COM1: (keyword), COM2: (keyword), -serialControlString (property), recordInput (property) +OS X (glossary), COMn: (keyword), serialControlString (property), +recordInput (property) Tags: networking diff --git a/docs/dictionary/command/open-file.lcdoc b/docs/dictionary/command/open-file.lcdoc index f7fa97b83a0..f6ce92700bd 100644 --- a/docs/dictionary/command/open-file.lcdoc +++ b/docs/dictionary/command/open-file.lcdoc @@ -58,8 +58,8 @@ read-only media. Description: Use the to create a or prepare an -existing for use by the or . +existing for use by the or + . You can optionally specify either text or binary mode. If you specify text mode, when you use the write to file to put data in the @@ -79,7 +79,7 @@ opened for writing, the write to file replaces the contents from the starting point to the end of the file. ->*Important:* : Before opening any file for writing, remember to back up +>*Important:* Before opening any file for writing, remember to back up > the file contents as LiveCode will erase them even if you do not write > to the file after opening it. @@ -103,10 +103,10 @@ in the . Any files you have opened are closed automatically when you quit the application. -You can use the to open a serial on or . On , specify -either "printer:" or "modem:". On Windows systems, specify either -"COM1:", "COM2:", or up to "COM9:". Set the serialControlString +You can use the to open a serial on + or . On , +specify either "printer:" or "modem:". On Windows systems, specify +either "COM1:", "COM2:", or up to "COM9:". Set the serialControlString before opening the to specify the baud rate and other settings. @@ -151,13 +151,14 @@ BOM is ignored. References: write to file (command), open file (command), put (command), constant (command), read from file (command), get (command), close file (command), answer file (command), return (constant), -function (control structure), tempName (function), return (glossary), -null (glossary), property (glossary), file (glossary), port (glossary), -command (glossary), Windows (glossary), textDecode (glossary), -OS X (glossary), type signature (glossary), creator signature (glossary), -result (glossary), textEncode (glossary), Mac OS (glossary), -Unix (glossary), ASCII (glossary), characters (keyword), file (keyword), -URL keyword (keyword), fileType (property), umask (property) +function (control structure), result (function), tempName (function), +textDecode (function), textEncode (function), return (glossary), +null (glossary), property (glossary), file (glossary), port (glossary), +command (glossary), Windows (glossary), textDecode (glossary), +OS X (glossary), type signature (glossary), creator signature (glossary), +Mac OS (glossary), Unix (glossary), ASCII (glossary), +characters (keyword), file (keyword), URL (keyword), fileType (property), +umask (property) Tags: file system diff --git a/docs/dictionary/command/open-printing-to-pdf.lcdoc b/docs/dictionary/command/open-printing-to-pdf.lcdoc index 302951fbcf3..14316636643 100644 --- a/docs/dictionary/command/open-printing-to-pdf.lcdoc +++ b/docs/dictionary/command/open-printing-to-pdf.lcdoc @@ -39,20 +39,19 @@ Description: Use the to print multiple cards directly to a pdf file. - The open printing to pdf command starts a print loop that outputs - directly to a PDF file rather that the currently configured printer. +The open printing to pdf command starts a print loop that outputs +directly to a PDF file rather that the currently configured printer. The following handler prints cards that have been collected in a global variable: on printSomeCards - global cardsToPrint - open printing to pdf "test.pdf" - repeat with x = 1 to the number of lines of cardsToPrint - - print card (line x of cardsToPrint) - end repeat + global cardsToPrint + open printing to pdf "test.pdf" + repeat with x = 1 to the number of lines of cardsToPrint + print card (line x of cardsToPrint) + end repeat close printing -- send group of cards to printer end printSomeCards diff --git a/docs/dictionary/command/open-printing.lcdoc b/docs/dictionary/command/open-printing.lcdoc index f2721c7ecf8..794f4272f16 100644 --- a/docs/dictionary/command/open-printing.lcdoc +++ b/docs/dictionary/command/open-printing.lcdoc @@ -57,14 +57,12 @@ The following handler prints cards that have been collected in a global variable: on printSomeCards - global cardsToPrint - open printing with dialog - repeat with x = 1 to the number of lines of cardsToPrint - - print card (line x of cardsToPrint) - end repeat - close printing -- send group of cards to printer - + global cardsToPrint + open printing with dialog + repeat with x = 1 to the number of lines of cardsToPrint + print card (line x of cardsToPrint) + end repeat + close printing -- send group of cards to printer end printSomeCards diff --git a/docs/dictionary/command/open-process.lcdoc b/docs/dictionary/command/open-process.lcdoc index 375758dafe5..a75885b23d1 100644 --- a/docs/dictionary/command/open-process.lcdoc +++ b/docs/dictionary/command/open-process.lcdoc @@ -142,8 +142,8 @@ BOM is ignored. References: kill (command), close process (command), read from process (command), write to process (command), exit (control structure), screenName (function), command (glossary), -OS X (glossary), textDecode (glossary), Windows (glossary), -Mac OS (glossary), Unix (glossary), textEncode (glossary), +OS X (glossary), textDecode (function), Windows (glossary), +Mac OS (glossary), Unix (glossary), textEncode (keyword), background (glossary), process (glossary), characters (keyword), hideConsoleWindows (property) diff --git a/docs/dictionary/command/option.lcdoc b/docs/dictionary/command/option.lcdoc index 20b6fa4de0a..4b4c3c0fa13 100644 --- a/docs/dictionary/command/option.lcdoc +++ b/docs/dictionary/command/option.lcdoc @@ -35,8 +35,7 @@ Use the