Save this file to another location, used by Sketch.saveAs()
(File newFile)
| 332 | * Save this file to another location, used by Sketch.saveAs() |
| 333 | */ |
| 334 | public void saveAs(File newFile) throws IOException { |
| 335 | Util.saveFile(program, newFile); |
| 336 | savedProgram = program; |
| 337 | file = newFile; |
| 338 | makePrettyName(); |
| 339 | setLastModified(); |
| 340 | setModified(false); |
| 341 | } |
| 342 | |
| 343 | |
| 344 | /** |
nothing calls this directly
no test coverage detected