@Contract("_, _ -> new")
  private static @NotNull TextRange getLineRange(@NotNull Document document, int nLine) {
    int startOffset = document.getLineStartOffset(nLine);
    int endOffset = document.getLineEndOffset(nLine);
    return new TextRange(startOffset, endOffset);
  }
@Contract("_, _ -> new")
  private static @NotNull TextRange getLineRange(@NotNull Document document, int nLine)