(Editor editor)
| 208 | |
| 209 | |
| 210 | static public void setEditor(Editor editor) { |
| 211 | if (current != null) { |
| 212 | current.stopTimer(); // allow to be garbage collected |
| 213 | } |
| 214 | editor.console.setCurrent(); |
| 215 | } |
| 216 | |
| 217 | |
| 218 | void setCurrent() { |
no test coverage detected