]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathParser.h
Remove hardcoded values
[lyx.git] / src / mathed / MathParser.h
index c92a8cfb883463525aea84e1e4b79695d09eefd5..9ff6db1a91a2cb9f0f48932a99dfcda0972dc76d 100644 (file)
@@ -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;
 };