mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
AC/C++: fix for tests depending on editor position
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user