Lines Matching defs:cur_virt

114 #define cur_virt	editb.e_cur		/* current virtual column */
369 cur_virt = i;
464 --cur_virt;
645 * This routine will append char after cur_virt in the virtual image.
660 if( mode==APPEND || cur_virt==last_virt )
662 for(i = ++last_virt; i > cur_virt; --i)
667 virtual[++cur_virt] = c;
676 * This routine will position cur_virt at the nth previous word.
685 register int tcur_virt = cur_virt;
715 cur_virt = ++tcur_virt;
751 if( cur_virt > INVALID )
767 cur_virt = 0;
920 cur_virt = 0;
922 cur_virt = INVALID;
938 cur_virt = 0;
969 if( cur_virt != INVALID )
989 cur_virt = p-virtual;
996 cur_virt = 0;
1070 * Delete nchars from the virtual space and leave cur_virt positioned
1071 * at cur_virt-1.
1087 if( cur_virt < first_virt )
1094 vp = virtual+cur_virt;
1096 if( (cur_virt-- + nchars) > last_virt )
1099 nchars = last_virt - cur_virt;
1140 cur_virt = 0;
1145 cur_virt = INVALID;
1183 if( cur_virt == INVALID )
1187 begin = cur_virt;
1197 end = cur_virt;
1211 cur_virt = begin;
1222 cur_virt = begin;
1230 * This routine will move cur_virt to the end of the nth word.
1239 register int tcur_virt = cur_virt;
1264 cur_virt = tcur_virt;
1270 * This routine will move cur_virt forward to the next nth word.
1279 register int tcur_virt = cur_virt;
1304 cur_virt = tcur_virt;
1408 --cur_virt;
1430 if( virtual[cur_virt] == '\\' )
1437 if( mode==SEARCH && cur_virt==0 )
1448 if( cur_virt > first_virt && isblank(cur_virt-1) )
1454 tmp = cur_virt;
1456 delete(tmp - cur_virt + 1, BAD);
1461 if( virtual[cur_virt] == '\\' )
1470 cur_virt = 1;
1475 tmp = cur_virt;
1476 cur_virt = first_virt;
1477 delete(tmp - cur_virt + 1, BAD);
1485 if( cur_virt != INVALID )
1497 if( cur_virt < last_virt )
1566 tcur_virt = cur_virt;
1581 tcur_virt = cur_virt;
1583 if( cur_virt == tcur_virt )
1589 tcur_virt = cur_virt;
1592 if( cur_virt == tcur_virt )
1634 tcur_virt = cur_virt;
1654 tcur_virt = cur_virt;
1685 tcur_virt = cur_virt;
1687 if( tcur_virt == cur_virt )
1694 cur_virt = tcur_virt;
1747 * cur_virt last_virt
1784 v = cur_virt;
1806 ncur_phys = ed_virt_to_phys(virtual,physical,cur_virt,v,p);
1851 && cur_virt==ocur_virt )
1913 ocur_virt = cur_virt;
1916 if( mode==INPUT && cur_virt>INVALID )
1926 * Replace the cur_virt character with char. This routine attempts
1929 * increment = 1, increment cur_virt after replacement.
1930 * = 0, leave cur_virt where it is.
1941 if( cur_virt == INVALID )
1949 || !is_print(virtual[cur_virt])
1955 || !is_print(virtual[cur_virt+1])) )
1961 if( increment && cur_virt<last_virt )
1962 ++cur_virt;
1967 virtual[cur_virt] = c;
1973 c = virtual[++cur_virt];
2008 cur_virt = tmpcol;
2025 if( (i = cur_virt - first_virt + 1) > 0 )
2047 u_column = cur_virt;
2085 if( cur_virt == INVALID )
2091 if( cur_virt==0 || fold(mode)=='N' )
2144 if( cur_virt == INVALID )
2150 if(first_wind==ofirst_wind && cur_virt>ocur_virt && ocur_virt!=INVALID)
2172 if( v != cur_virt )
2191 if( v == cur_virt )
2210 ocur_virt = cur_virt;
2254 if( cur_virt == INVALID )
2261 if( ed_expand((char*)virtual, &cur_virt, &last_virt, c) )
2275 --cur_virt;
2328 cur_virt = last_virt;
2338 if( cur_virt != INVALID )
2340 first_virt = cur_virt + 1;
2347 cur_virt = first_virt;
2357 if( cur_virt != INVALID )
2359 o_v_char = virtual[cur_virt];
2360 first_virt = cur_virt--;
2390 first_virt = cur_virt + 1;
2411 if( cur_virt < last_virt )
2412 ++cur_virt;
2418 if( cur_virt != INVALID )
2420 i = virtual[cur_virt];
2423 --cur_virt;
2435 /*** fix stored cur_virt ***/
2459 if( cur_virt != INVALID )
2460 first_virt = cur_virt;
2488 first_virt = cur_virt + 1;
2521 if( cur_virt != INVALID )
2525 while(trepeat-->0 && i!=cur_virt)
2527 i = cur_virt;
2528 c = virtual[cur_virt];