]> 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 056e405dcc0bf679e554ce38b34c9d94acfa734c..add92022b7fc8c747d05eb73cb7b157aa935bd6a 100644 (file)
@@ -29,7 +29,6 @@ class UpdatableInset;
 class WordLangTuple;
 class Encoding;
 class ErrorList;
-class ErrorItem;
 
 /**
  * A buffer view encapsulates a view onto a particular
@@ -81,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();
@@ -153,16 +154,8 @@ public:
        /// redo last action
        void redo();
 
-       /// removes all autodeletable insets
-       bool removeAutoInsets();
        /// get the stored error list
        ErrorList const & getErrorList() const;
-       /// clears the stored error list
-       void resetErrorList();
-       /// stored this  error list
-       void setErrorList(ErrorList const &);
-       /// adds a single error to the list
-       void addError(ErrorItem const &);
        /// show the error list to the user
        void showErrorList(string const &) const;
        /// set the cursor based on the given TeX source row