Beispiel #1
0
void
allupdate(Window *w, void*)
{
	Text *t;
	int i;
	File *f;

	t = &w->body;
	f = t->file;
	if(f->curtext != t)	/* do curtext only */
		return;
	if(f->elog.type == Null)
		elogterm(f);
	else if(f->elog.type != Empty){
		elogapply(f);
		if(f->editclean){
			f->mod = FALSE;
			for(i=0; i<f->ntext; i++)
				f->text[i]->w->dirty = FALSE;
		}
	}
	textsetselect(t, t->q0, t->q1);
	textscrdraw(t);
	winsettag(w);
}
Beispiel #2
0
void
allelogterm(Window *w, void*)
{
	elogterm(w->body.file);
}
Beispiel #3
0
void
allelogterm(Window *w, void*unusedv)
{
    elogterm(w->body.file);
}