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

Method stopCompoundEdit

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

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

()

Source from the content-addressed store, hash-verified

1773 * Use with startCompoundEdit() to group edit operations in a single undo.
1774 */
1775 public void stopCompoundEdit() {
1776 if (compoundEdit != null) {
1777 compoundEdit.end();
1778 undo.addEdit(compoundEdit);
1779 undoAction.updateUndoState();
1780 redoAction.updateRedoState();
1781 compoundEdit = null;
1782 }
1783 }
1784
1785
1786 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

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

Tested by

no test coverage detected