]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView_pimpl.h
move some selection related stuff over to textcursor.C
[lyx.git] / src / BufferView_pimpl.h
index 0f2ad9f51b28c0c3df7dfea9d662f310892c6073..040288298a22e86658a685e5874ad87d84fe8a86 100644 (file)
@@ -10,6 +10,7 @@
 #ifndef BUFFERVIEW_PIMPL_H
 #define BUFFERVIEW_PIMPL_H
 
+#include "errorlist.h"
 #include "BufferView.h"
 #include "frontends/Timeout.h"
 #include "frontends/key_state.h"
@@ -53,6 +54,9 @@ struct BufferView::Pimpl : public boost::signals::trackable {
         * Repaint pixmap. Used for when we've made a visible
         * change but don't need the full update() logic
         */
+       ///
+       bool loadLyXFile(string const &, bool);
+       ///
        void repaint();
        ///
        void workAreaResize();
@@ -103,6 +107,11 @@ struct BufferView::Pimpl : public boost::signals::trackable {
        /// a function should be executed
        bool dispatch(FuncRequest const & ev);
 private:
+       /// An error list (replaces the error insets)
+       ErrorList errorlist_;
+       /// add an error to the list
+       void addError(ErrorItem const &);
+
        /// track changes for the document
        void trackChanges();