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

Method handleQuitEach

app/src/processing/app/Base.java:1792–1808  ·  view source on GitHub ↗

Attempt to close each open sketch in preparation for quitting. @return false if canceled along the way

()

Source from the content-addressed store, hash-verified

1790 * @return false if canceled along the way
1791 */
1792 protected boolean handleQuitEach() {
1793// int index = 0;
1794 for (Editor editor : editors) {
1795// if (editor.checkModified()) {
1796// // Update to the new/final sketch path for this fella
1797// storeSketchPath(editor, index);
1798// index++;
1799//
1800// } else {
1801// return false;
1802// }
1803 if (!editor.checkModified()) {
1804 return false;
1805 }
1806 }
1807 return true;
1808 }
1809
1810
1811 public void handleRestart() {

Callers 2

handleQuitMethod · 0.95
handleRestartMethod · 0.95

Calls 1

checkModifiedMethod · 0.80

Tested by

no test coverage detected