private static @Nullable String getIndentString(@NotNull String text, int start) {
    StringBuilder result = new StringBuilder();
    for (int i = start; i < text.length(); i++) {
      char c = text.charAt(i);
      if (c == '\n') {
        result = new StringBuilder();
        continue;
      }
      if (Character.isWhitespace(c)) {
        result.append(c);
        continue;
      }
      return result.toString();
    }
    return null;
  }
private static @Nullable String getIndentString(@NotNull String text, int start)