public static int getPointerLength(@NotNull Position position, boolean dialogMode) {
    return getPointerLength(getAbstractPositionFor(position), dialogMode);
  }
public static int getPointerLength(@NotNull Position position, boolean dialogMode)