#include <boost/scoped_ptr.hpp>
#include <boost/signals/trackable.hpp>
-#ifdef __GNUG__
-#pragma interface
-#endif
+class Change;
class LyXView;
class WorkArea;
class LyXScreen;
///
void scrollDocView(int value);
/**
- * Wheel mouse scroll, move by multiples of text->defaultHeight().
+ * Wheel mouse scroll, move by multiples of text->defaultRowHeight().
*/
void scroll(int lines);
///
void cursorToggle();
///
bool available() const;
+ /// get the change at the cursor position
+ Change const getCurrentChange();
///
void beforeChange(LyXText *);
///
///
bool dispatch(FuncRequest const & ev);
private:
+ /// track changes for the document
+ void trackChanges();
+
///
friend class BufferView;