]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
added a parseError signal to Buffer and use it
[lyx.git] / src / BufferView.h
index 419f807b772bc96e2df694fb4003a7ac793b4313..e2031947ff6eaf5e0fb91f34af87eb5ee9388489 100644 (file)
@@ -81,6 +81,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();
@@ -159,8 +161,6 @@ public:
        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