public static int getNormalizedLength(@Nullable CommonCodeStyleSettings.IndentOptions options, @NotNull String text) {
    return text
      .replaceAll(
        "\t",
        StringUtil.repeatSymbol(' ', getTabSize(options)))
      .replaceAll(
        "\n",
        StringUtil.repeatSymbol(' ', CRITICAL_SYMBOL_WEIGHT))
      .length();
  }
public static int getNormalizedLength(@Nullable CommonCodeStyleSettings.IndentOptions options, @NotNull String text)