Lines Matching refs:undo
3568 static struct edstate *undo;
3632 undo = &undobuf;
4049 if (vs->cursor == undo->cursor) {
4056 if (vs->cursor >= undo->linelen)
4059 vs->cbuf[vs->cursor] = undo->cbuf[vs->cursor];
4190 undo->winleft = vs->winleft;
4191 memmove(undo->cbuf, vs->cbuf, vs->linelen);
4192 undo->linelen = vs->linelen;
4193 undo->cursor = vs->cursor;
4487 vs = undo;
4488 undo = t;
5480 /* expanded = PRINT; next call undo */
5501 * If exact match, don't undo. Allows directory completions