private static boolean breaksStringFormatting(@NotNull String s, @NotNull TextRange range) {
    return breaksRanges(substitutionsToRanges(filterSubstitutions(parsePercentFormat(s))), range);
  }
private static boolean breaksStringFormatting(@NotNull String s, @NotNull TextRange range)