Skip to content

Commit ca284fb

Browse files
Remove LastUndoableEditAwareUndoManager
Now that RTextArea actions are used, this class no longer serves any purpose.
1 parent 76bc293 commit ca284fb

File tree

2 files changed

+0
-38
lines changed

2 files changed

+0
-38
lines changed

app/src/processing/app/EditorTab.java

-5
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
import org.fife.ui.rsyntaxtextarea.RSyntaxUtilities;
5353
import org.fife.ui.rtextarea.Gutter;
5454
import org.fife.ui.rtextarea.RTextScrollPane;
55-
import org.fife.ui.rtextarea.RUndoManager;
5655

5756
import cc.arduino.UpdatableBoardsLibsFakeURLsHandler;
5857
import processing.app.helpers.DocumentTextChangeListener;
@@ -107,10 +106,6 @@ public EditorTab(Editor editor, SketchFile file, String contents)
107106
file.setStorage(this);
108107
applyPreferences();
109108
add(this.scrollPane, BorderLayout.CENTER);
110-
111-
RUndoManager undo = new LastUndoableEditAwareUndoManager(this.textarea, this.editor);
112-
document.addUndoableEditListener(undo);
113-
textarea.setUndoManager(undo);
114109
}
115110

116111
private RSyntaxDocument createDocument(String contents) {

app/src/processing/app/LastUndoableEditAwareUndoManager.java

-33
This file was deleted.

0 commit comments

Comments
 (0)