diff --git a/platform/platform-tests/testSrc/com/intellij/openapi/editor/EditorMultiCaretTest.java b/platform/platform-tests/testSrc/com/intellij/openapi/editor/EditorMultiCaretTest.java index 7dc178471b92..68a80b3493c1 100644 --- a/platform/platform-tests/testSrc/com/intellij/openapi/editor/EditorMultiCaretTest.java +++ b/platform/platform-tests/testSrc/com/intellij/openapi/editor/EditorMultiCaretTest.java @@ -51,19 +51,19 @@ public class EditorMultiCaretTest extends AbstractEditorTest { checkResultByText("some text\n" + "another line"); - mouse().alt().shift().clickAt(0,8); // alt-shift-click in existing selection + mouse().alt().shift().clickAt(0, 8); // alt-shift-click in existing selection checkResultByText("some text\n" + "another line"); - mouse().alt().shift().clickAt(0,6); // alt-shift-click at existing caret with selection + mouse().alt().shift().clickAt(0, 6); // alt-shift-click at existing caret with selection checkResultByText("some text\n" + "another line"); - mouse().alt().shift().clickAt(1,1); // alt-shift-click at the sole caret + mouse().alt().shift().clickAt(1, 1); // alt-shift-click at the sole caret checkResultByText("some text\n" + "another line"); - mouse().alt().shift().clickAt(0,30); // alt-shift-click in virtual space + mouse().alt().shift().clickAt(0, 30); // alt-shift-click in virtual space checkResultByText("some text\n" + "another line"); @@ -152,7 +152,8 @@ public class EditorMultiCaretTest extends AbstractEditorTest { init("some text\n" + "some other text\n" + "another line", - TestFileType.TEXT); + TestFileType.TEXT + ); type('A'); checkResultByText("someA textA\n" + "some A A\n" + @@ -173,7 +174,8 @@ public class EditorMultiCaretTest extends AbstractEditorTest { public void testCutAndPaste() throws Exception { init("one two \n" + "three four ", - TestFileType.TEXT); + TestFileType.TEXT + ); executeAction("EditorCut"); executeAction("EditorLineEnd"); executeAction("EditorPaste"); @@ -207,18 +209,4 @@ public class EditorMultiCaretTest extends AbstractEditorTest { "five eightsix \n" + "seven"); } - - public void testStateStoreAndLoad() throws Exception { - init("some text\n" + - "some other text\n" + - "another line", - TestFileType.TEXT); - EditorHistoryManager.getInstance(ourProject).projectOpened(); - FileEditorManager fileEditorManager = FileEditorManager.getInstance(ourProject); - fileEditorManager.closeFile(myVFile); - myEditor = fileEditorManager.openTextEditor(new OpenFileDescriptor(getProject(), myVFile, 0), false); - checkResultByText("some text\n" + - "some other text\n" + - "another line"); - } }