if (index == lastTabInRun(tabCount, run) + 1) index = lastTabInRun(tabCount, getPreviousTabRun(run)) + 1; return getNextTabIndex(base);
if (base == lastTabInRun(tabCount, run)) index = (run > 0) ? lastTabInRun(tabCount, getPreviousTabRun(run)) + 1 : 0;  return index;
  protected int getNextTabIndexInRun(int tabCount, int base)  {    int index = getNextTabIndex(base);    int run = getRunForTab(tabCount, base);    if (index == lastTabInRun(tabCount, run) + 1)      index = lastTabInRun(tabCount, getPreviousTabRun(run)) + 1;    return getNextTabIndex(base);  }