Alfredo Braunstein wrote: > We could add a bool DocumentIterator::contains(inset *) that checks the > stack for that particular inset. then > > + if (cur.contains(&*it)) > + cur.pop();
... and cur.pop is no good either. we need to cut it to the level in which the inset is found. What do you think? Alfredo