private static boolean needsColon(@NotNull InsertionContext context) {
    String tail = getTailString(context);
    for (int i = 0; i < tail.length(); i++) {
      char next = tail.charAt(i);
      if (next == ':') {
        return false;
      }
      if (isCRLF(next)) {
        return true;
      }
    }
    return true;
  }
private static boolean needsColon(@NotNull InsertionContext context)