TwosideTextDiffProvider (@Nullable Project project, @NotNull ContentDiffRequest request, @NotNull TextDiffSettings settings, @NotNull Runnable rediff, @NotNull Disposable disposable) { DiffContent content1 = Side.LEFT.select(request.getContents()); DiffContent content2 = Side.RIGHT.select(request.getContents()); DiffIgnoredRangeProvider ignoredRangeProvider = getIgnoredRangeProvider(project, content1, content2); if (ignoredRangeProvider == null) return null; return new SmartTextDiffProvider(project, content1, content2, settings, rediff, disposable, ignoredRangeProvider); }