boolean (@NotNull TextMergeChange change) { MergeLineFragment changeFragment = change.getFragment(); int baseStartLine = changeFragment.getStartLine(ThreeSide.BASE); int baseEndLine = changeFragment.getEndLine(ThreeSide.BASE); DocumentContent baseDiffContent = ThreeSide.BASE.select(myMergeRequest.getContents()); Document baseDocument = baseDiffContent.getDocument(); int resultStartLine = change.getStartLine(); int resultEndLine = change.getEndLine(); Document resultDocument = getEditor().getDocument(); CharSequence baseContent = DiffUtil.getLinesContent(baseDocument, baseStartLine, baseEndLine); CharSequence resultContent = DiffUtil.getLinesContent(resultDocument, resultStartLine, resultEndLine); return !StringUtil.equals(baseContent, resultContent); }