@Override
  public int adjustLineIndent(@NotNull Document document, int offset) {
    return adjustLineIndent(document, offset, FormattingMode.ADJUST_INDENT);
  }
@Override
  public int adjustLineIndent(@NotNull Document document, int offset)