On Tue, Feb 03, 2004 at 10:05:02AM +0100, Alfredo Braunstein wrote: > Andre Poenitz wrote: > > > 1. an additional std::string field in class Undo plus a math/non-math > > flag telling us whether the ParagraphList (for texted) or the > > string (LaTeX'd math) is valid, or > > Why a string instead of a math inset?
Hm, bit of decoupling I suppose. Mathed doesn't really care whether data is 'insetized' or 'stringified' as both conversion directions are good and sufficiently fast. And the string version would save a few bytes on the undo stacks... Andre'