On Mon, Dec 03, 2001 at 03:07:27PM +0100, Andre Poenitz wrote: > Can anybody please explain me the concept of "inset locking"?
I think of it as focus. An inset that is locked demands that many operations should be requested of it first. For example, updates on insets. The top-level is bv->theLockingInset(). For example, entering the non-red-box part of a top-level insettabuler sets the tabular as the locking inset. All "containing" insets each have a the_locking_inset member as well - this indicates the contained inset that is locked, if one exists. One example would be a red-boxed cell - here an InsetText is InsetTabular::the_locking_inset, and (I think) bv->theLockingInset() is the InsetTabular. The stuff is confusing ... john -- "Faced with the prospect of rereading this book, I would rather have my brains ripped out by a plastic fork." - Charles Cooper on "Business at the Speed of Thought"