]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_parser.h
Fix to bug 2362: Deleting superscript also deletes subscript.
[lyx.git] / src / mathed / math_parser.h
index 90fc7bf20e2fb5d7a918240c450dcddbf829bc0a..e2321c6b31c07afdffb4a7aba196915df2687eee 100644 (file)
@@ -23,7 +23,8 @@ class LyXLex;
 
 
 ///
-struct latexkeys {
+class latexkeys {
+public:
        /// name of the macro or primitive
        std::string name;
        /// name of a inset that handles that macro
@@ -34,6 +35,8 @@ struct latexkeys {
        std::string extra;
        /// how is this called as XML entity?
        std::string xmlname;
+       /// required LaTeXFeatures
+       std::string requires;
 };
 
 
@@ -54,4 +57,6 @@ void mathed_parse_cell(MathArray & ar, std::string const &);
 /// ... a stream
 void mathed_parse_cell(MathArray & ar, std::istream &);
 
+void initParser();
+
 #endif