Logo Search packages:      
Sourcecode: iterm version File versions  Download package

int TABS_get_next_tab ( TABS  tabstop,
int  col 
)

find next tab stop.

Parameters:
tabstop TABS class
col search start column

Definition at line 62 of file tabs.c.

References MAX_TAB_BITS.

{
  int i;
  for(i=col+1;i<MAX_TAB_BITS;i++)
      if(tabstop[(i/8)] &  (1<<(i%8)))
          return i;
  return col;
}


Generated by  Doxygen 1.6.0   Back to index