]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_fontoldinset.h
Fix reading of math macros
[lyx.git] / src / mathed / math_fontoldinset.h
index 14a42cc58f50ba3ca1216dd0ae6295d284a98916..8beac3c374819ad658d8f4f534a758d5839e2323 100644 (file)
@@ -9,7 +9,9 @@
 #endif
 
 /** Old-style font changes
-    \author André Pönitz
+ *  \author André Pönitz
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 class latexkeys;
@@ -20,6 +22,8 @@ public:
        explicit MathFontOldInset(latexkeys const * key);
        ///
        MathInset * clone() const;
+       /// we are in text mode.
+       mode_type currentMode() const { return TEXT_MODE; }
        /// we write extra braces in any case...
        bool extraBraces() const { return true; }
        ///