X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView.h;h=a94ddfd56b718b989bb53b7046401066dfe14c6b;hb=a9409b47851e57afb2a9c1b1262e60c6963d9dc4;hp=f6d5b1894baeca201817065cc28514681e76b281;hpb=66e633811e326b262e4202c34cc2c1124a02b77f;p=lyx.git diff --git a/src/BufferView.h b/src/BufferView.h index f6d5b1894b..a94ddfd56b 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -15,6 +15,7 @@ #ifndef BUFFER_VIEW_H #define BUFFER_VIEW_H +#include "DocumentClassPtr.h" #include "update_flags.h" #include "support/strfwd.h" @@ -316,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 @@ -332,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. @@ -345,7 +348,7 @@ private: void updateHoveredInset() const; /// - void updateDocumentClass(DocumentClass const * const olddc); + void updateDocumentClass(DocumentClassConstPtr olddc); /// int width_; ///