mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-16 11:21:18 +03:00
An undoable action marks the sketh as modified
This commit is contained in:
@ -1697,6 +1697,7 @@ public class Editor extends JFrame implements RunnerListener {
|
|||||||
|
|
||||||
} else if (undo != null) {
|
} else if (undo != null) {
|
||||||
undo.addEdit(new CaretAwareUndoableEdit(e.getEdit(), textarea));
|
undo.addEdit(new CaretAwareUndoableEdit(e.getEdit(), textarea));
|
||||||
|
sketch.setModified(true);
|
||||||
undoAction.updateUndoState();
|
undoAction.updateUndoState();
|
||||||
redoAction.updateRedoState();
|
redoAction.updateRedoState();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user