mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
tests
This commit is contained in:
+5
-1
@@ -1465,7 +1465,11 @@ public class CodeInsightTestFixtureImpl extends BaseFixture implements CodeInsig
|
||||
if (file.getFileType().isBinary()) {
|
||||
return null;
|
||||
}
|
||||
return instance.openTextEditor(new OpenFileDescriptor(project, file), false);
|
||||
Editor editor = instance.openTextEditor(new OpenFileDescriptor(project, file), false);
|
||||
if (editor != null) {
|
||||
editor.getCaretModel().moveToOffset(0);
|
||||
}
|
||||
return editor;
|
||||
}
|
||||
|
||||
private long collectAndCheckHighlighting(boolean checkWarnings, boolean checkInfos, boolean checkWeakWarnings) throws Exception {
|
||||
|
||||
Reference in New Issue
Block a user