Lines Matching defs:curhline
148 #define curhline editb.e_hline /* current history line */
732 curhline = histmax;
870 curhline += vp->repeat;
871 if( curhline > histmax )
873 curhline = histmax;
876 else if(curhline==histmax && tmp_u_column!=INVALID )
903 if( curhline == histmax )
913 curhline -= vp->repeat;
914 if( curhline <= histmin )
916 curhline += vp->repeat;
922 if(curhline!=histmax || cur_virt==INVALID)
923 hist_copy((char*)virtual, MAXLINE, curhline,-1);
979 curhline = vp->repeat;
1023 curhline = histmax;
1039 curhline = vp->ed->hlist[vp->repeat+vp->ed->hoff-1]->index;
2259 oldcurhline = curhline;
2265 location.hist_command = curhline;
2271 if( new_direction==1 && curhline >= histmax )
2272 curhline = histmin + 1;
2273 location = hist_find(shgd->hist_ptr,((char*)virtual)+1, curhline, 1, new_direction);
2277 if( (curhline=location.hist_command) >=0 )
2285 curhline = oldcurhline;