forked from livecode/livecode
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathedit.lcdoc
More file actions
48 lines (33 loc) · 1.21 KB
/
edit.lcdoc
File metadata and controls
48 lines (33 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Name: edit
Type: command
Syntax: edit [the] script of <object> [at line,column]
Summary:
Opens the <script> of an <object(glossary)> in the
<development environment>.
Introduced: 1.0
OS: mac, windows, linux
Platforms: desktop, server
Example:
edit the script of this card
Example:
edit the script of button 1
Example:
edit the script of player "Show Me"
Parameters:
object:
Any object reference. Usint the optional at syntax will pass the
subsequent items to the editScript handler as a second parameter. By
convention the first two parameters should be a line number and a column
character offset from the start of the line.
Description:
Use the <edit> <command> in the <development environment> to open the
LiveCode <script editor> with the <script> of the specified
<object(glossary)>.
The <edit> <command> is equivalent to selecting the object and choosing
Object menu then Object Script.
>*Important:* . If the script editor is not open, the <edit> command
> opens a window that shows the script.
References: licensed (function), object (glossary),
development environment (glossary), command (glossary),
script editor (glossary), editScript (message), userLevel (property),
editScripts (property), script (property)