X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathParser.h;h=9ff6db1a91a2cb9f0f48932a99dfcda0972dc76d;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=745b038d2a58af88868b639deee38f20e913ab82;hpb=586124c6a7bbad3d28bb756622613334da4a9a23;p=lyx.git diff --git a/src/mathed/MathParser.h b/src/mathed/MathParser.h index 745b038d2a..9ff6db1a91 100644 --- a/src/mathed/MathParser.h +++ b/src/mathed/MathParser.h @@ -30,10 +30,14 @@ class Lexer; /// class latexkeys { public: + /// + latexkeys() : hidden(false) {} + /// + char const * MathMLtype() const; /// name of the macro or primitive docstring name; /// name of a inset that handles that macro - docstring inset; + std::string inset; /** * The string or symbol to draw. * This is a string of length 1 if \p name is a known symbol, and @@ -53,7 +57,10 @@ public: /// how is this called as XML entity in MathML? docstring xmlname; /// required LaTeXFeatures - docstring requires; + std::string requires; + /// Should this macro be hidden from autocompletion (since it requires + /// user preamble code)? + bool hidden; };