Dov Feldstern wrote:
Richard Heck wrote:
Some silly comments.
+    /// is this inset based on the CollapsableInset class?
+    virtual InsetCollapsable * asCollapsableInset() { return 0; }
+    /// is this inset based on the CollapsableInset class?
+ virtual InsetCollapsable const * asCollapsableInset() const { return 0; }
Probably should be asInsetCollapsable().

Hmm, yes. I tried to conform to the example of asTextInset, but I now notice that asInsetMath goes the other way... Should I change asTextInset -> asInsetText, as well?


Ugh, I see that in mathed there are a million asXxxxInset... I'm not going to start switching all of those! But asInsetCollapsable and asInsetText I guess I'll change...

+    ///
+    InsetCollapsable * asCollapsableInset() { return this; }
+    ///
+ InsetCollapsable const * asCollapsableInset() const { return this; }
and similarly.

rh




Reply via email to