]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Improve and unify error messages
[lyx.git] / src / BufferView.h
index d164438ad57f6a5946c2b101ccfa4c4b030b35f6..a144aee136971a57368ce78feeeb6ff3998def24 100644 (file)
@@ -18,7 +18,6 @@
 #include "DocumentClassPtr.h"
 #include "update_flags.h"
 
-#include "support/shared_ptr.h"
 #include "support/strfwd.h"
 #include "support/types.h"
 
@@ -156,7 +155,7 @@ public:
        /// Ensure that the BufferView cursor is visible.
        /// This method will automatically scroll and update the BufferView
        /// if needed.
-       void showCursor(); 
+       void showCursor();
        /// Ensure the passed cursor \p dit is visible.
        /// This method will automatically scroll and update the BufferView
        /// if needed.
@@ -318,6 +317,8 @@ public:
        void clearLastInset(Inset * inset) const;
        /// Is the mouse hovering a clickable inset or element?
        bool clickableInset() const;
+       ///
+       void makeDocumentClass();
 
 private:
        /// noncopyable
@@ -334,7 +335,7 @@ private:
        /// when it is allowed to scroll below the document.
        int minVisiblePart();
 
-       /// Search recursively for the the innermost inset that covers (x, y) position.
+       /// Search recursively for the innermost inset that covers (x, y) position.
        /// \retval 0 if no inset is found.
        Inset const * getCoveringInset(
                Text const & text, //< The Text where we start searching.