]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
Fix natbib bug spotted by JMarc.
[lyx.git] / src / BufferView.h
index 5a1b44b3a4988911b054c250a07068dbd2fb5ca9..e4da73d12e285c312f785f14f75e6be8acff28df 100644 (file)
@@ -21,6 +21,7 @@
 
 #include <boost/utility.hpp>
 
+class Change;
 class LyXView;
 class LyXText;
 class TeXErrors;
@@ -107,6 +108,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.