mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-26 19:06:24 +07:00
undo doesn't suffer from autopopup intervention, again
This commit is contained in:
@@ -873,5 +873,14 @@ class LiveComplete {
|
||||
assert myFixture.editor.document.text.contains('ArrStoExce.')
|
||||
}
|
||||
|
||||
public void testAutopopupTypingUndo() {
|
||||
myFixture.configureByText "a.java", "class Foo {{ <caret> }}"
|
||||
def editor;
|
||||
edt { editor = FileEditorManager.getInstance(project).openFile(myFixture.file.virtualFile, false)[0] }
|
||||
type 'aioobeeee'
|
||||
edt { UndoManager.getInstance(project).undo(editor) }
|
||||
assert !myFixture.editor.document.text.contains('aioo')
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user