Lines Matching defs:repeat

118 	int repeat;		/* repeat count for motion cmds */
119 int lastrepeat; /* last repeat count for motion cmds */
396 vp->repeat = 1;
729 vp->repeat = 1;
757 vp->lastrepeat = vp->repeat;
765 vp->repeat = 1;
769 /*** see if it's a repeat of the last command ***/
774 vp->repeat = vp->lastrepeat;
793 vp->lastrepeat = vp->repeat;
795 vp->repeat = 1;
868 curhline += vp->repeat;
911 curhline -= vp->repeat;
914 curhline += vp->repeat;
970 case 'G': /** goto command repeat **/
972 vp->repeat = histmin+1;
973 if( vp->repeat <= histmin || vp->repeat > histmax )
977 curhline = vp->repeat;
1035 if(vp->repeat > vp->ed->nhlist-vp->ed->hoff)
1037 curhline = vp->ed->hlist[vp->repeat+vp->ed->hoff-1]->index;
1057 vp->repeat = 1;
1064 vp->repeat = 1;
1069 vp->repeat = 1;
1316 * Set repeat to the user typed number and return the terminating
1325 /*** get any repeat count ***/
1339 vp->repeat *= i;
1590 * for repeat times.
1618 tcur_virt = vp->repeat-1;
1687 tcur_virt += vp->repeat*incr;
1698 backword(vp,vp->repeat, motion);
1707 endword(vp, vp->repeat, motion);
1751 count = vp->repeat;
1801 forward(vp,vp->repeat, motion);
2190 * mode = 'N' repeat last search in reverse direction
2191 * mode = 'n' repeat last search
2246 /*** user wants repeat of last search ***/
2384 * mode != 0, repeat previous operation
2392 register int trepeat = vp->repeat;
2424 if(ed_expand(vp->ed,(char*)virtual, &cur_virt, &last_virt, c, vp->repeat_set?vp->repeat:-1)<0)
2477 vp->repeat = -1;
2478 p = (genchar*)hist_word((char*)tmpbuf,MAXLINE,vp->repeat);
2651 cdelete(vp,vp->repeat, BAD);
2682 case 'x': /** delete repeat chars forward - dl **/
2686 case 'X': /** delete repeat chars backward - dh **/