Lines Matching refs:wx

88 	int	wx, wy, nc, boty, clby, idby, *hs, curwin;
183 for (wx = nc; wx >= 0; --wx)
184 marks[wy][wx] = 0;
262 wx = _virtscr->_curx;
263 if (wy != cy || wx != cx) {
264 (void) mvcur(cy, cx, wy, wx);
268 cx = (short) wx;
373 int wx, lastx, x, mtch, idch, blnkx, idcx, video_attrx,
391 wx = 0;
394 wx = _virtscr->_firstch[wy];
402 wp = wcp + wx;
403 sp = scp + wx;
404 for (; wx < lastx; ++wx)
407 if (wx >= lastx)
411 for (sp = scp+wx, wp = wcp+wx; wp > wcp; --wp, --sp, --wx)
418 for (; lastx > wx; --lastx)
438 blnkx >= wx; --blnkx, --wp)
458 for (; video_attrx >= wx; --video_attrx, --wp)
466 for (; color_attrx >= wx; --color_attrx, --wp)
485 for (wp = wcp+video_attrx; wp >= wcp+wx; --wp)
493 endns < wx || (endns >= lastx && (scrco - lastx) > SLACK)) {
501 for (idcx = scrco - 1, wp = wcp + idcx; idcx >= wx;
523 wcp += wx;
524 scp += wx;
528 while (wx < lastx) {
532 wx_sav = wx;
533 for (; wx < lastx; ++wx, ++wcp, ++scp)
536 if (wx >= lastx)
538 for (; wx > wx_sav; --wx, --wcp, --scp) {
546 if (!changed && !marks && clr_bol && blnkx > wx &&
547 begns >= wx) {
548 for (x = wx, wp = wcp; x < lastx; ++x, ++wp)
552 for (sp = scp+(x-wx); x >= wx; --x, --sp)
572 mtch = x - wx;
577 wx = x;
585 if (cy != wy || cx != wx)
586 (void) mvcur(cy, cx, wy, wx);
590 cx = (short) wx;
593 while (wx < lastx) {
605 if (wx > blnkx) {
612 curscr->_curx = (short) wx;
617 if (marks && wx > 0 && _ATTR(*(scp - 1)) !=
621 _setmark1(wy, wx, NULL);
623 _setmark2(wy, wx, NULL);
629 if (wx > idcx && !ISCBIT(*scp) &&
630 (mtch = _useidch(wcp, scp, lastx - wx,
633 wx += mtch;
677 (void) mvcur(wy, wx,
691 tempx = first ? video_attrx : wx;
707 video_attrx), wy, wx);
716 _setmark1(wy, wx, scp);
718 _setmark2(wy, wx, scp);
726 if (wx == scrco - x) {
727 _rmargin(wx);
734 (void) mvcur(wy, wx + 1, wy, wx);
742 wx++;
745 while (wx < lastx && ISCBIT(*wcp)) {
748 wx++;
761 for (wx = 0, scp = curscr->_y[wy]; wx < scrco; ++wx, ++scp)
765 _BEGNS[wy] = (short) wx;
766 if (wx == scrco)
769 wx = scrco - 1;
770 scp = curscr->_y[wy] + wx;
771 for (; wx >= 0; --wx, --scp)
775 _ENDNS[wy] = (short) wx;
1039 _rmargin(int wx)
1052 w = _curs_scrwidth[TYPE(RBYTE(wcp[wx]))];
1054 for (x = wx - 1; x > 0; --x)
1060 if (_ATTR(wcp[wx]) != curscr->_attrs)
1061 _VIDS(_ATTR(wcp[wx]), curscr->_attrs);
1063 _CHAR(wcp[wx]) == '~' ? '`' : wcp[wx]);
1065 for (ix = wx + 1; ix < scrco; ++ix) {
1069 /* insert sc back in and push wcp[wx] right */
1094 if (marks && (_ATTR(sc) || _ATTR(wcp[wx])))
1095 _VIDS(_ATTR(wcp[wx]), ~_ATTR(sc));
1099 cx = (short) wx;
1100 curscr->_y[cy][wx] = wcp[wx];
1101 for (x = wx + 1; x < scrco; ++x) {
1109 (void) _outwch(tilde_glitch && _CHAR(wcp[wx]) == '~' ? '`' : wcp[wx]);
1118 curscr->_y[cy][wx] = wcp[wx];
1120 for (x = wx + 1; x < scrco; ++x) {