#ifndef BUFFER_VIEW_H
#define BUFFER_VIEW_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
#include "LString.h"
#include "undo.h"
#include <boost/utility.hpp>
+class Change;
class LyXView;
class LyXText;
class TeXErrors;
void restorePosition(unsigned int i);
/// does the given bookmark have a saved position ?
bool isSavedPosition(unsigned int i);
+
+ /// return the current change at the cursor
+ Change const getCurrentChange();
/**
* This holds the mapping between buffer paragraphs and screen rows.
/// Scroll the view by a number of pixels
void scrollDocView(int);
- /// height of a normal line in pixels (zoom factor considered)
- int defaultHeight() const;
/// return the pixel width of the document view
int workWidth() const;
/// return the pixel height of the document view