@Override
  public @Nullable PsiElement getChangeHighlightingDirtyScopeFor(@NotNull PsiElement changedElement) {
    if (!TodoConfiguration.getInstance().isMultiLine()) return null;
    if (changedElement instanceof PsiWhiteSpace) {
      PsiElement prevLeaf = PsiTreeUtil.prevLeaf(changedElement);
      return prevLeaf instanceof PsiComment ? PsiTreeUtil.findCommonParent(changedElement, prevLeaf) : null;
    }
    else if (changedElement instanceof PsiComment) {
      PsiComment commentAbove = findAdjacentComment(changedElement, true);
      PsiComment commentBelow = findAdjacentComment(changedElement, false);
      if (commentAbove == null && commentBelow == null) return null;
      return PsiTreeUtil.findCommonParent(changedElement, commentAbove, commentBelow);
    }
    else {
      return null;
    }
  }
@Override
  public @Nullable PsiElement getChangeHighlightingDirtyScopeFor(@NotNull PsiElement changedElement)