@@ -37,8 +37,7 @@ public MacroRunner(String macro, Editor editor) {
37
37
thread .start ();
38
38
}
39
39
40
- /** Create a new object that interprets macro source in a
41
- separate thread, and also passing a string argument. */
40
+ /** Interprets macro source in a separate thread using a string argument. */
42
41
public MacroRunner (String macro , String argument ) {
43
42
this .macro = macro ;
44
43
this .argument = argument ;
@@ -47,7 +46,7 @@ public MacroRunner(String macro, String argument) {
47
46
thread .start ();
48
47
}
49
48
50
- /** Create a new object that interprets a macro file using a separate thread. */
49
+ /** Interprets a macro file in a separate thread. */
51
50
public MacroRunner (File file ) {
52
51
int size = (int )file .length ();
53
52
if (size <=0 )
@@ -74,12 +73,12 @@ public MacroRunner(File file) {
74
73
thread .start ();
75
74
}
76
75
77
- /** Create a new object that runs a tokenized macro in a separate thread. */
76
+ /** Runs a tokenized macro in a separate thread. */
78
77
public MacroRunner (Program pgm , int address , String name ) {
79
78
this (pgm , address , name , (String )null );
80
79
}
81
80
82
- /** Create a new object that runs a tokenized macro in a separate thread,
81
+ /** Runs a tokenized macro in a separate thread,
83
82
passing a string argument. */
84
83
public MacroRunner (Program pgm , int address , String name , String argument ) {
85
84
this .pgm = pgm ;
@@ -91,7 +90,7 @@ public MacroRunner(Program pgm, int address, String name, String argument) {
91
90
thread .start ();
92
91
}
93
92
94
- /** Create a new object that runs a tokenized macro in debug mode if 'editor' is not null. */
93
+ /** Runs a tokenized macro in debug mode if 'editor' is not null. */
95
94
public MacroRunner (Program pgm , int address , String name , Editor editor ) {
96
95
this .pgm = pgm ;
97
96
this .address = address ;
@@ -129,6 +128,7 @@ public Thread getThread() {
129
128
return thread ;
130
129
}
131
130
131
+ /** Used to run the macro code in 'macro' on a separate thread. */
132
132
public void run () {
133
133
Interpreter interp = new Interpreter ();
134
134
interp .argument = argument ;
0 commit comments