X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathParser.h;h=9ff6db1a91a2cb9f0f48932a99dfcda0972dc76d;hb=02e82157ec583c3900e359de86be79fac6512387;hp=c4ae6f89949bf3bb93e1b6edd82531a79743b805;hpb=ff4460603e3888948b46f0ab5bfa69a862d538ad;p=lyx.git diff --git a/src/mathed/MathParser.h b/src/mathed/MathParser.h index c4ae6f8994..9ff6db1a91 100644 --- a/src/mathed/MathParser.h +++ b/src/mathed/MathParser.h @@ -15,7 +15,6 @@ #include "MathParser_flags.h" -#include "support/types.h" #include "support/docstring.h" @@ -31,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 @@ -54,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; };