]> git.lyx.org Git - features.git/blobdiff - src/BufferParams.h
Fix cut and paste error
[features.git] / src / BufferParams.h
index 9b12575b141c5bf9609e0fc5ebc46f2a0da0aef2..497332b84b358b6359e68dd02411704344f8eed1 100644 (file)
 
 #include "Citation.h"
 #include "ColorCode.h"
+#include "ColorSet.h"
 #include "DocumentClassPtr.h"
 #include "LayoutModuleList.h"
 #include "paper.h"
+#include "WordLangTuple.h"
 
 #include "support/copied_ptr.h"
 #include "support/types.h"
@@ -78,7 +80,7 @@ public:
        /// read a header token, if unrecognised, return it or an unknown class name
        std::string readToken(Lexer & lex,
                std::string const & token, ///< token to read.
-               support::FileName const & filepath);
+               support::FileName const & filename);
 
        ///
        void writeFile(std::ostream &, Buffer const *) const;
@@ -334,6 +336,12 @@ public:
        /// IndicesList:
        IndicesList & indiceslist();
        IndicesList const & indiceslist() const;
+       ///
+       typedef std::vector<WordLangTuple> IgnoreList;
+       ///
+       IgnoreList & spellignore();
+       IgnoreList const & spellignore() const;
+       bool spellignored(WordLangTuple const & wl) const;
        /**
         * The LyX name of the input encoding for LaTeX. This can be one of
         * - \c auto: find out the input encoding from the used languages
@@ -399,6 +407,8 @@ public:
        bool isnotefontcolor;
        ///
        RGBColor boxbgcolor;
+       ///
+       bool isboxbgcolor;
        /// \param index should lie in the range 0 <= \c index <= 3.
        Bullet & temp_bullet(size_type index);
        Bullet const & temp_bullet(size_type index) const;