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