/* * Tab to the previous stop, returning true if the cursor moved */ Bool TabToPrevStop(TScreen * screen) { int saved_column = screen->cur_col; set_cur_col(screen, TabPrev(term->tabs, screen->cur_col)); return (screen->cur_col < saved_column); }
/* * Tab to the previous stop, returning true if the cursor moved */ Bool TabToPrevStop(XtermWidget xw) { TScreen *screen = TScreenOf(xw); int saved_column = screen->cur_col; set_cur_col(screen, TabPrev(xw->tabs, screen->cur_col)); return (screen->cur_col < saved_column); }
/* * Tab to the previous stop, returning true if the cursor moved */ Bool TabToPrevStop(XtermWidget xw) { TScreen *screen = TScreenOf(xw); int saved_column = screen->cur_col; int next_column = TabPrev(xw->tabs, screen->cur_col); if (xw->flags & ORIGIN) { int left = ScrnLeftMargin(xw); if (next_column < left) next_column = left; } set_cur_col(screen, next_column); return (screen->cur_col < saved_column); }