MCPcopy Create free account
hub / github.com/benfry/processing4 / save

Method save

app/src/processing/app/SketchCode.java:318–326  ·  view source on GitHub ↗

Save this piece of code, regardless of whether the modified flag is set or not.

()

Source from the content-addressed store, hash-verified

316 * flag is set or not.
317 */
318 public void save() throws IOException {
319 // TODO re-enable history
320 //history.record(s, SketchHistory.SAVE);
321
322 Util.saveFile(program, file);
323 savedProgram = program;
324 lastModified = file.lastModified();
325 setModified(false);
326 }
327
328
329 /**

Callers 1

addBreakpointCommentsMethod · 0.95

Calls 2

saveFileMethod · 0.95
setModifiedMethod · 0.95

Tested by

no test coverage detected