String path = myDiffRequest.getWindowTitle();
if (path != null) baseFile = LocalFileSystem.getInstance().findFileByPath(path);
}
myLeftSide.setHighlighterFactory(createHighlighter(types[0], baseFile, project));
myRightSide.setHighlighterFactory(createHighlighter(types[1], baseFile, project));
<BUG>rediff();
myPanel.requestScrollEditors();
}</BUG>
private static DiffHighlighterFactory createHighlighter(FileType contentType, VirtualFile file, Project project) {
return new DiffHighlighterFactoryImpl(contentType, file, project);

String path = myDiffRequest.getWindowTitle();
if (path != null) baseFile = LocalFileSystem.getInstance().findFileByPath(path);
}
myLeftSide.setHighlighterFactory(createHighlighter(types[0], baseFile, project));
myRightSide.setHighlighterFactory(createHighlighter(types[1], baseFile, project));
rediff();
if (myIsRequestFocus) {
myPanel.requestScrollEditors();
}
}
private static DiffHighlighterFactory createHighlighter(FileType contentType, VirtualFile file, Project project) {
return new DiffHighlighterFactoryImpl(contentType, file, project);
