MCPcopy
hub / github.com/arduino/Arduino / updateUndoRedoState

Method updateUndoRedoState

app/src/processing/app/Editor.java:1371–1375  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1369
1370
1371 protected void updateUndoRedoState() {
1372 SketchTextArea textArea = getCurrentTab().getTextArea();
1373 undoItem.setEnabled(textArea.canUndo());
1374 redoItem.setEnabled(textArea.canRedo());
1375 }
1376
1377
1378 // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Callers 4

selectTabMethod · 0.95
addTabMethod · 0.95
handleIndentOutdentMethod · 0.80

Calls 3

getCurrentTabMethod · 0.95
getTextAreaMethod · 0.80
setEnabledMethod · 0.45

Tested by

no test coverage detected