X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView.h;h=b2261ff69f638f0d131307924e0a8ce35c391662;hb=cd3d0bc0b26f4d92fdfbfaac4adefebcf51f11ff;hp=5a1b44b3a4988911b054c250a07068dbd2fb5ca9;hpb=74c871a9fc4f73088e00f0a3a4e502abf18af0b0;p=lyx.git diff --git a/src/BufferView.h b/src/BufferView.h index 5a1b44b3a4..b2261ff69f 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -10,10 +10,6 @@ #ifndef BUFFER_VIEW_H #define BUFFER_VIEW_H -#ifdef __GNUG__ -#pragma interface -#endif - #include "LString.h" #include "undo.h" @@ -21,6 +17,7 @@ #include +class Change; class LyXView; class LyXText; class TeXErrors; @@ -107,6 +104,9 @@ public: 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. @@ -193,8 +193,6 @@ public: /// 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