]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCommandParams.h
requires is a keyword in C++2a
[lyx.git] / src / insets / InsetCommandParams.h
index e82320583fc4a39856bc4a3de62387ed2af3038b..874a9a53dbb946c9514c5fd2f561821ad05e3ef2 100644 (file)
@@ -45,7 +45,8 @@ public:
                HANDLING_NONE = 1,    /// no special handling
                HANDLING_ESCAPE = 2,  /// escape special characters
                HANDLING_LATEXIFY = 4, /// transform special characters to LaTeX macros
-               HANDLING_LTRIM = 8 /// trim blanks on the left
+               HANDLING_LTRIM = 8, /// trim blanks on the left
+               HANDLING_INDEX_ESCAPE = 16, /// escape makeindex special chars
        };
        ///
        class ParamData {
@@ -87,10 +88,10 @@ public:
        };
 
        /// adds a new parameter
-       /// If ignore is true, then the parameter is never saved, and is always
+       /// If ignoreval is true, then the parameter is never saved, and is always
        /// given the default value.
        void add(std::string const & name, ParamType type,
-                ParamHandling = HANDLING_NONE, bool ignore = false,
+                ParamHandling = HANDLING_NONE, bool ignoreval = false,
                 docstring default_value = docstring());
        ///
        bool empty() const { return info_.empty(); }