]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
remove unused macro
[lyx.git] / src / BufferView.h
index faac2f6c62b423cb1804709f71578266a8a5fea0..2fe006418818b839c25e3271dc218e8b66f8fb66 100644 (file)
@@ -127,10 +127,14 @@ public:
        /// set the cursor based on the given TeX source row.
        void setCursorFromRow(int row);
 
-       /// Ensure the cursor is visible.
-       /// This method will automatically scroll and update the BufferView and updated 
+       /// Ensure that the BufferView cursor is visible.
+       /// This method will automatically scroll and update the BufferView
        /// if needed.
        void showCursor();
+       /// Ensure the passed cursor \p dit is visible.
+       /// This method will automatically scroll and update the BufferView
+       /// if needed.
+       void showCursor(DocIterator const & dit);
        /// LFUN_SCROLL Helper.
        void lfunScroll(FuncRequest const & cmd);
        /// scroll down document by the given number of pixels.