]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
move some selection related stuff over to textcursor.C
[lyx.git] / src / BufferView.h
index fe00dc967238f3ba4a18c9413ff22b59a3c23809..add92022b7fc8c747d05eb73cb7b157aa935bd6a 100644 (file)
@@ -28,6 +28,7 @@ class Painter;
 class UpdatableInset;
 class WordLangTuple;
 class Encoding;
+class ErrorList;
 
 /**
  * A buffer view encapsulates a view onto a particular
@@ -79,6 +80,8 @@ public:
 
        /// reload the contained buffer
        void reload();
+       /// load a buffer into the view
+       bool loadLyXFile(string const & name, bool tolastfiles = true);
 
        /// fit the user cursor within the visible view
        bool fitCursor();
@@ -151,10 +154,10 @@ public:
        /// redo last action
        void redo();
 
-       /// removes all autodeletable insets
-       bool removeAutoInsets();
+       /// get the stored error list
+       ErrorList const & getErrorList() const;
        /// show the error list to the user
-       void showErrorList();
+       void showErrorList(string const &) const;
        /// set the cursor based on the given TeX source row
        void setCursorFromRow(int row);