MCPcopy Index your code
hub / github.com/processing/processing / handleSaveImpl

Method handleSaveImpl

app/src/processing/app/ui/Editor.java:2653–2671  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2651
2652
2653 protected void handleSaveImpl() {
2654 statusNotice(Language.text("editor.status.saving"));
2655 try {
2656 if (sketch.save()) {
2657 statusNotice(Language.text("editor.status.saving.done"));
2658 } else {
2659 statusEmpty();
2660 }
2661
2662 } catch (Exception e) {
2663 // show the error as a message in the window
2664 statusError(e);
2665
2666 // zero out the current action,
2667 // so that checkModified2 will just do nothing
2668 //checkModifiedMode = 0;
2669 // this is used when another operation calls a save
2670 }
2671 }
2672
2673
2674 public boolean handleSaveAs() {

Callers 2

handleSaveMethod · 0.95
runMethod · 0.95

Calls 5

statusNoticeMethod · 0.95
textMethod · 0.95
statusEmptyMethod · 0.95
statusErrorMethod · 0.95
saveMethod · 0.45

Tested by

no test coverage detected