]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
"Inter-word Space"
[lyx.git] / src / BufferView.h
index fe00dc967238f3ba4a18c9413ff22b59a3c23809..419f807b772bc96e2df694fb4003a7ac793b4313 100644 (file)
@@ -28,6 +28,8 @@ class Painter;
 class UpdatableInset;
 class WordLangTuple;
 class Encoding;
+class ErrorList;
+class ErrorItem;
 
 /**
  * A buffer view encapsulates a view onto a particular
@@ -151,10 +153,16 @@ 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();
+       void showErrorList(string const &) const;
        /// set the cursor based on the given TeX source row
        void setCursorFromRow(int row);