Reload the current sketch. Used to update the text area when an external editor is in use.
()
| 227 | * an external editor is in use. |
| 228 | */ |
| 229 | public void reload() { |
| 230 | // set current to null so that the tab gets updated |
| 231 | // https://download.processing.org/bugzilla/515.html |
| 232 | current = null; |
| 233 | // nuke previous files and settings |
| 234 | load(); |
| 235 | } |
| 236 | |
| 237 | |
| 238 | /** |
no test coverage detected