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

Method handleQuitEach

app/src/processing/app/Base.java:1579–1595  ·  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

1577 * @return false if canceled along the way
1578 */
1579 protected boolean handleQuitEach() {
1580// int index = 0;
1581 for (Editor editor : editors) {
1582// if (editor.checkModified()) {
1583// // Update to the new/final sketch path for this fella
1584// storeSketchPath(editor, index);
1585// index++;
1586//
1587// } else {
1588// return false;
1589// }
1590 if (!editor.checkModified()) {
1591 return false;
1592 }
1593 }
1594 return true;
1595 }
1596
1597
1598 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Callers 1

handleQuitMethod · 0.95

Calls 1

checkModifiedMethod · 0.80

Tested by

no test coverage detected