Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 40924e4

Browse files
author
livecodesam
committed
[Dictionary] export snapshot to getResources
1 parent 21ae79c commit 40924e4

File tree

11 files changed

+44
-44
lines changed

11 files changed

+44
-44
lines changed

docs/dictionary/command/export-snapshot.lcdoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,9 @@ snapshot to specified dimensions, was added in version 6.0.
146146
References: export (command), import snapshot (command), select (command),
147147
screenRect (function), PPM (glossary), command (glossary),
148148
container (glossary), PBM (glossary), alpha channel (glossary),
149-
file (keyword), image (keyword), cursor (property), rectangle (property),
150-
windowID (property), object reference (glossary)
149+
file (keyword), image (keyword), cursor (property),
150+
defaultFolder (property), rectangle (property), windowID (property),
151+
object reference (glossary)
151152

152153
Tags: file system, multimedia
153154

docs/dictionary/command/go.lcdoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,12 @@ command opens the main stack of the specified stack file.
5757

5858
mode (enum):
5959

60-
- editable window:
61-
- palette:
62-
- modal dialog box:
63-
- modeless dialog box:
64-
- sheet dialog box: appears in <defaultStack>
65-
- drawer: appears in <defaultStack>, centered at left side if there's
60+
- editable window
61+
- palette
62+
- modal dialog box
63+
- modeless dialog box
64+
- sheet dialog box - appears in <defaultStack>
65+
- drawer - appears in <defaultStack>, centered at left side if there's
6666
room
6767

6868

docs/dictionary/function/folders.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Description:
4646
<targetFolder>, with one file per line. If no <targetFolder> is
4747
specified, list the files in the <current folder>.
4848

49-
The list only includes folders at the top level of the <target folder>.
49+
The list only includes folders at the top level of the <targetFolder>.
5050
The <folders> <function> does not recursively enter and examine
5151
folders deeper in the filesystem. To examine the contents of a
5252
<subfolder|subfolders>, either pass its path as the <targetFolder>, or

docs/dictionary/function/fontNames.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ The fontNames (printer) form was introduced in version 2.0.
8080
Changes:
8181
The fontNames () form was introduced to iOS in version 4.5.3.
8282

83-
References: revFontLoad (command), function (control structure),
83+
References: function (control structure),
8484
fontStyles (function), font (glossary), return (glossary), line (keyword)
8585

8686
Tags: ui

docs/dictionary/function/getResources.lcdoc

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,27 @@ resources of all resource types.
3535

3636
Returns (enum):
3737
The <getResources> <function> <return|returns> a list of
38-
<resource|resources>, one per <line>. Each <line> consists of four
39-
<items> :
40-
41-
- the resource ID
42-
- the resource name
43-
- the resource size in bytes
44-
45-
S System heap
46-
U Purgeable
47-
L Locked
48-
P Protected
49-
R Preload
50-
C Compressed resource
38+
<resource|resources>, one per <line>. Each <line> consists of
39+
the following items <items> :
40+
- the resource ID
41+
- the resource name
42+
- the resource size in bytes
43+
- the 4-character resource type
44+
- one or more resource flag characters. The possible resource flags
45+
are as follows:
46+
- S System heap
47+
- U Purgeable
48+
- L Locked
49+
- P Protected
50+
- R Preload
51+
- C Compressed resource
52+
5153
If a flag is set to true, its character is included in the last item. If
5254
the flag is set to false, its character is not included. If none of
5355
these flags is set for a resource, the last item of that resource's line
5456
is empty. If the file does not contain any resources, the <getResources>
5557
<function> <return|returns> empty
5658

57-
- the 4: character resource type
58-
- one or more resource flag characters. The possible resource flags
59-
are as follows:
60-
61-
6259
The result:
6360
If the <filePath> does not exist, the <result> is set to
6461
"can't find file". If the <filePath> exists, but the <file> has no

docs/dictionary/keyword/fifth.lcdoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ Example:
2020
select fifth line of field "Address Info"
2121

2222
Description:
23-
Use the <fifth> <keyword> in an <object reference> or <chunk
24-
expression>.
23+
Use the <fifth> <keyword> in an <object reference> or
24+
<chunk expression>.
2525

2626
The <fifth> <keyword> can be used to specify any <object(glossary)>
2727
whose <number> <property> is 5. It can also be used to designate the

docs/dictionary/keyword/from.lcdoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ Description:
3030
Use the <from> <keyword> to complete a <command> that requires it.
3131

3232
The <from> <keyword> is used with the <convert>, <drag>, <import>,
33-
<import snapshot>, <move>, print card, <read from file>,
33+
<import snapshot>, <move>, <print|print card>, <read from file>,
3434
<read from process>, <read from socket>, <remove>, <remove script>,
3535
<request>, and <subtract> <command|commands>.
3636

3737
References: read from file (command), import snapshot (command),
38-
convert (command), move (command), remove script (command),
39-
remove (command), request (command), drag (command),
40-
read from process (command), subtract (command),
38+
convert (command), move (command), print (command),
39+
remove script (command), remove (command), request (command),
40+
drag (command), read from process (command), subtract (command),
4141
read from socket (command), import (command), command (glossary),
4242
keyword (glossary), to (keyword)
4343

docs/dictionary/property/focusColor.lcdoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ color reference (glossary), insertion point (glossary),
9393
object type (glossary), EPS (glossary), effective (keyword),
9494
card (keyword), button (keyword), player (keyword), graphic (keyword),
9595
scrollbar (keyword), field (keyword), image (keyword), audioClip (object),
96-
button (object), control (object), stack (object), videoClip (object),
96+
button (object), stack (object), videoClip (object),
9797
style (property), owner (property), traversalOn (property),
9898
showFocusBorder (property), focusColor (property)
9999

docs/dictionary/property/foregroundPattern.lcdoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@ text or the pattern that fills an <object(glossary)>.
4646

4747
Pattern images can be color or black-and-white.
4848

49-
>*Cross-platform note:* To be used as a pattern on <Mac OS|Mac OS
50-
> systems>, an <image> must be 128x128 <pixels> or less, and both its
51-
> <height> and <width> must be a power of 2. To be used on <Windows> and
52-
> <Unix|Unix systems>, <height> and <width> must be divisible by 8. To
53-
> be used as a fully cross-platform pattern, both an image's dimensions
54-
> should be one of 8, 16, 32, 64, or 128.
49+
>*Cross-platform note:* To be used as a pattern on
50+
> <Mac OS|Mac OS systems>, an <image> must be 128x128 <pixels> or less,
51+
> and both its <height> and <width> must be a power of 2. To be used on
52+
> <Windows> and <Unix|Unix systems>, <height> and <width> must be
53+
> divisible by 8. To be used as a fully cross-platform pattern, both an
54+
> image's dimensions should be one of 8, 16, 32, 64, or 128.
5555

5656
The <foregroundPattern> of <control(object)|controls> is drawn starting
5757
at the <control(object)|control's> upper right corner: if the

docs/dictionary/property/fullDragData.lcdoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Syntax: set the fullDragData[<key>] to <data>
77
Syntax: set the fullDragData to empty
88

99
Summary:
10-
provides access to the contents of the <drag-and-drop clipboard>.
10+
Provides access to the contents of the <drag-and-drop> <clipboard>.
1111

1212
Introduced: 8.0
1313

@@ -64,7 +64,8 @@ will cause the rest to be automatically generated and added.
6464
If you require lower-level access to the drag-and-drop clipboard, see
6565
the <rawDragData> <property>.
6666

67-
References: dragData (property), rawDragData (property)
67+
References: dragData (property), rawDragData (property),
68+
clipboard (glossary), drag and drop (glossary)
6869

6970
Tags: ui, drag-and-drop
7071

0 commit comments

Comments
 (0)