Re: Fix InsetLayout Problem

2008-12-16 Thread rgheck
Jean-Marc Lasgouttes wrote: rgheck writes: + case TC_INSETLAYOUT: { if (lexrc.next()) { [long stuff snipped] + } else { + lexrc.printError("No name given for InsetLayout: `$$Token'."); +

Re: Fix InsetLayout Problem

2008-12-16 Thread Jean-Marc Lasgouttes
rgheck writes: > Currently, if you repeat an InsetLayout declaration, it completely > over-writes the original, rather than updating it, as ordinary Style > declarations do. The attached patch, for trunk, aims to fix that > problem. Comments welcome. Very good. A few points: > + cas

Fix InsetLayout Problem

2008-12-16 Thread rgheck
Currently, if you repeat an InsetLayout declaration, it completely over-writes the original, rather than updating it, as ordinary Style declarations do. The attached patch, for trunk, aims to fix that problem. Comments welcome. Richard Index: src/insets/InsetLayout.cpp =