new types 'lyx::layout_type' and 'lyx::textclass_type' instead of SomeClass::SomeObscureContainer::size_type.
LyXView.h does not depend on layout.h anymore. "Of course", touching layout.h still triggers almost a full re-compile of everything... Note that I put some debug code into support/types.h to get stricter type checking than available for simple typedefs. It is disabled by default, but could be activated every few month to check that everything is still ok. [And yes, there was one layout_type <-> textclass_type mismatch somewhere. Nothing serious, though...] Andre' -- André Pönitz .............................................. [EMAIL PROTECTED]