mirror of
https://github.com/processing/processing4.git
synced 2026-02-13 18:35:37 +01:00
re-adding caretUndoStack.push() and caretRedoStack.clear() calls to fix
bug #707
This commit is contained in:
@@ -1409,6 +1409,8 @@ public abstract class Editor extends JFrame implements RunnerListener {
|
||||
if (compoundEdit != null) {
|
||||
compoundEdit.end();
|
||||
undo.addEdit(compoundEdit);
|
||||
caretUndoStack.push(textarea.getCaretPosition());
|
||||
caretRedoStack.clear();
|
||||
undoAction.updateUndoState();
|
||||
redoAction.updateRedoState();
|
||||
compoundEdit = null;
|
||||
|
||||
Reference in New Issue
Block a user