fix editor scrolling on completing, no smart undo for choosing variants by enter

This commit is contained in:
peter
2011-07-27 10:49:24 +02:00
parent 8a37791ae1
commit 08666bd6f4
3 changed files with 9 additions and 25 deletions
@@ -851,15 +851,6 @@ class LiveComplete {
assert myFixture.editor.document.text.contains('ArrStoExce.')
}
public void testEnterSelectionUndo() {
myFixture.configureByText "a.java", "class Foo {{ <caret> }}"
def editor = openEditorForUndo();
type('ArrStoExce\n')
edt { UndoManager.getInstance(project).undo(editor) }
assert myFixture.editor.document.text.contains('ArrStoExce\n')
}
public void testTabSelectionUndo() {
myFixture.configureByText "a.java", "class Foo {{ <caret>x }}"
def editor = openEditorForUndo();