Save this file to another location, used by Sketch.saveAs()
(File newFile)
| 293 | * Save this file to another location, used by Sketch.saveAs() |
| 294 | */ |
| 295 | public void saveAs(File newFile) throws IOException { |
| 296 | if (storage == null) |
| 297 | return; /* Nothing to do */ |
| 298 | |
| 299 | BaseNoGui.saveFile(storage.getText(), newFile); |
| 300 | renamedTo(newFile); |
| 301 | storage.clearModified(); |
| 302 | } |
| 303 | } |
nothing calls this directly
no test coverage detected