From fd0bf960da2aaa582a61607b1e6f5c3419a03973 Mon Sep 17 00:00:00 2001 From: Dmitry Semeniouta Date: Fri, 18 Sep 2015 20:31:26 +0300 Subject: [PATCH] AC/C++: fix for tests depending on editor position --- .../testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java b/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java index aa11d47f4b06..02ffd6732a85 100644 --- a/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java +++ b/platform/testFramework/src/com/intellij/testFramework/fixtures/impl/CodeInsightTestFixtureImpl.java @@ -1603,7 +1603,7 @@ public class CodeInsightTestFixtureImpl extends BaseFixture implements CodeInsig } @Nullable - private Editor createEditor(@NotNull VirtualFile file) { + protected Editor createEditor(@NotNull VirtualFile file) { final Project project = getProject(); final FileEditorManager instance = FileEditorManager.getInstance(project); PsiDocumentManager.getInstance(getProject()).commitAllDocuments();