Lines Matching defs:where
1017 /* move to line <where> (first line == 0) as efficiently as possible; */
1019 MoveToLine(int where)
1023 if (where == CursorV)
1026 if (where > TermV) {
1028 xprintf("MoveToLine: where is ridiculous: %d\r\n", where);
1034 del = where - CursorV;
1072 CursorV = where; /* now where is here */
1076 MoveToChar(int where) /* move to character position (where) */
1081 if (where == CursorH)
1084 if (where >= TermH) {
1086 xprintf("MoveToChar: where is riduculous: %d\r\n", where);
1092 if (!where) { /* if where is first column */
1098 del = where - CursorH;
1102 (void) tputs(tgoto(Str(T_ch), where, where), where, PUTPURE);
1111 if ((CursorH & 0370) != (where & ~0x7)
1112 && Display[CursorV][where & ~0x7] != CHAR_DBWIDTH) {
1114 for (i = (CursorH & 0370); i < (where & ~0x7); i += 8)
1116 CursorH = where & ~0x7;
1126 so_write(&Display[CursorV][CursorH], where - CursorH);
1135 if (T_Tabs ? (-del > ((where >> 3) + (where & 07)))
1136 : (-del > where)) {
1146 CursorH = where; /* now where is here */