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

Method stopCompoundEdit

app/src/processing/app/ui/Editor.java:1514–1522  ·  view source on GitHub ↗

Use with startCompoundEdit() to group edit operations in a single undo.

()

Source from the content-addressed store, hash-verified

1512 * Use with startCompoundEdit() to group edit operations in a single undo.
1513 */
1514 public void stopCompoundEdit() {
1515 if (compoundEdit != null) {
1516 compoundEdit.end();
1517 undo.addEdit(compoundEdit);
1518 undoAction.updateUndoState();
1519 redoAction.updateRedoState();
1520 compoundEdit = null;
1521 }
1522 }
1523
1524
1525 public int getScrollPosition() {

Callers 12

setTextMethod · 0.95
insertTextMethod · 0.95
setLineTextMethod · 0.95
endCompoundEditMethod · 0.95
endTextEditHistoryMethod · 0.95
handleAutoFormatMethod · 0.95
handleIndentOutdentMethod · 0.95
actionPerformedMethod · 0.80
actionPerformedMethod · 0.80
replaceAllMethod · 0.80
renameMethod · 0.80

Calls 4

updateUndoStateMethod · 0.80
updateRedoStateMethod · 0.80
endMethod · 0.65
addEditMethod · 0.45

Tested by

no test coverage detected