@NotNull
    private static TextRange getBodyRange(@NotNull Document document) {
      return document.getLineCount() > 1 ? TextRange.create(document.getLineStartOffset(1), document.getTextLength()) : EMPTY_RANGE;
    }
@NotNull
    private static TextRange getBodyRange(@NotNull Document document)