X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FMathParser.h;h=9ff6db1a91a2cb9f0f48932a99dfcda0972dc76d;hb=2de30c62f8d671a8c8d4d52a6a7310e2c5ca84de;hp=c92a8cfb883463525aea84e1e4b79695d09eefd5;hpb=0a93c9b70f861b12e27239167d9ba59ddd6ece1e;p=lyx.git diff --git a/src/mathed/MathParser.h b/src/mathed/MathParser.h index c92a8cfb88..9ff6db1a91 100644 --- a/src/mathed/MathParser.h +++ b/src/mathed/MathParser.h @@ -30,6 +30,8 @@ class Lexer; /// class latexkeys { public: + /// + latexkeys() : hidden(false) {} /// char const * MathMLtype() const; /// name of the macro or primitive @@ -56,6 +58,9 @@ public: docstring xmlname; /// required LaTeXFeatures std::string requires; + /// Should this macro be hidden from autocompletion (since it requires + /// user preamble code)? + bool hidden; };