MCPcopy Index your code
hub / github.com/benfry/processing4 / handleSaveImpl

Method handleSaveImpl

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

Source from the content-addressed store, hash-verified

2147
2148
2149 protected void handleSaveImpl() {
2150 statusNotice(Language.text("editor.status.saving"));
2151 try {
2152 if (sketch.save()) {
2153 statusNotice(Language.text("editor.status.saving.done"));
2154 } else {
2155 statusEmpty();
2156 }
2157
2158 } catch (Exception e) {
2159 // show the error as a message in the window
2160 statusError(e);
2161
2162 // zero out the current action,
2163 // so that checkModified2 will just do nothing
2164 //checkModifiedMode = 0;
2165 // this is used when another operation calls a save
2166 }
2167 }
2168
2169
2170 public boolean handleSaveAs() {

Callers 1

handleSaveMethod · 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