Runs the specified macro code.
(String macro)
| 88 | |
| 89 | /** Runs the specified macro code. */ |
| 90 | public void run(String macro) { |
| 91 | this.macro = macro; |
| 92 | thread = new Thread(this, "Macro$"); |
| 93 | thread.setPriority(Math.max(thread.getPriority()-2, Thread.MIN_PRIORITY)); |
| 94 | thread.start(); |
| 95 | } |
| 96 | |
| 97 | /** Runs a tokenized macro in debug mode if 'editor' is not null. */ |
| 98 | public MacroRunner(Program pgm, int address, String name, Editor editor) { |
no test coverage detected