Lines Matching refs:cursor

90 	cursor = linebuf;  in vUndo()
175 cursor = vUD1;
180 vnline(cursor);
186 vcursat(cursor);
211 if (cursor > linebuf && cursor >= strend(linebuf))
212 cursor = lastchr(linebuf, cursor);
263 savedot = dot; savedol = dol; savecursor = cursor;
296 dot = savedot; dol = savedol ; cursor = savecursor;
321 vUD1 = vUD2 = cursor; in vnoapp()
331 vmcurs = cursor; in vnoapp()
397 } else if (wcursor > cursor) { in vmove()
402 for (cp = cursor; *cp && cp < wcursor;) { in vmove()
459 if (cursor == wcursor) { in vdelete()
464 cp = cursor; in vdelete()
471 cursor = cp; in vdelete()
474 physdc(lcolumn(cursor), i); in vdelete()
519 if (cursor && wcursor) { in vchange()
525 *cursor = 0; in vchange()
608 vmcurs = cursor; in vchange()
636 cursor = linebuf; in vchange()
653 vcursat(cursor); in vchange()
658 if (*cursor == 0 && cursor > linebuf) in vchange()
659 cursor = lastchr(linebuf, cursor); in vchange()
660 vrepaint(cursor); in vchange()
671 if (cursor == wcursor) { in vchange()
676 cp = cursor; in vchange()
696 cursor = cp; in vchange()
698 CP(cursor, wcursor); in vchange()
774 cursor = linebuf; in voOpen()
840 vrepaint(cursor); in vfilter()
893 if (dot > wdot || (dot == wdot && wcursor != 0 && cursor > wcursor)) { in xdw()
898 cp = cursor; cursor = wcursor; wcursor = cp; in xdw()
905 if (cursor && wcursor == linebuf && wdot > dot) { in xdw()
908 if (vpastwh(linebuf) >= cursor) in xdw()
968 endcurs = cursor; in vrep()
978 vcursat(cursor); in vrep()
1005 vUD1 = cursor; vUD2 = wcursor; in vrep()
1006 CP(cursor, wcursor); in vrep()
1037 vrepaint(cursor); in vyankit()
1064 pkill[0] = cursor; in setpk()
1078 vmcurs = cursor; in fixundo()