Skip to content

Commit e8a8702

Browse files
Remove EditorTab.getUndoManager()
This method is no longer used, and relies on an Arduino-specific patch to RSyntaxTextArea.
1 parent 28bfbc7 commit e8a8702

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/src/processing/app/EditorTab.java

-5
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
import javax.swing.text.BadLocationException;
4545
import javax.swing.text.Element;
4646
import javax.swing.text.PlainDocument;
47-
import javax.swing.undo.UndoManager;
4847
import javax.swing.text.DefaultCaret;
4948

5049
import org.fife.ui.rsyntaxtextarea.RSyntaxDocument;
@@ -548,10 +547,6 @@ void handleRedo() {
548547
textarea.redoLastAction();
549548
}
550549

551-
public UndoManager getUndoManager() {
552-
return textarea.getUndoManager();
553-
}
554-
555550
public String getCurrentKeyword() {
556551
String text = "";
557552
if (textarea.getSelectedText() != null)

0 commit comments

Comments
 (0)