mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -205,13 +205,6 @@ public class EditorTextField extends NonOpaquePanel implements DocumentListener,
|
||||
|
||||
public void setDocument(Document document) {
|
||||
if (myDocument != null) {
|
||||
/*
|
||||
final UndoManager undoManager = myProject != null
|
||||
? UndoManager.getInstance(myProject)
|
||||
: UndoManager.getGlobalInstance();
|
||||
undoManager.clearUndoRedoQueue(myDocument);
|
||||
*/
|
||||
|
||||
uninstallDocumentListener(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user