* ref_inset.C (dispatch): add an '\end_inset' to the string passed to
the dialog.
+ * math_inset.h:
+ * ref_inset.h (asRefInset): new method, replacing asInsetRef.
+
2003-02-21 Angus Leeming <leeming@lyx.org>
* formulabase.C (localDispatch): retire LFUN_REF_INSERT. Add
class MathSymbolInset;
class MathUnknownInset;
-class InsetRef;
+class RefInset;
class NormalStream;
class OctaveStream;
virtual MathSymbolInset const * asSymbolInset() const { return 0; }
virtual MathUnknownInset * asUnknownInset() { return 0; }
virtual MathUnknownInset const * asUnknownInset() const { return 0; }
- virtual InsetRef * asInsetRef() { return 0; }
+ virtual RefInset * asRefInset() { return 0; }
/// identifies things that can get scripts
virtual bool isScriptable() const { return false; }
string screenLabel() const;
///
void validate(LaTeXFeatures & features) const;
+ ///
+ virtual RefInset * asRefInset() { return this; }
/// plain ascii output
int ascii(std::ostream & os, int) const;