]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/LyXView.h
Implementation of the conclusion of the "LyX/Mac 1.6 -- Window issues" thread:
[lyx.git] / src / frontends / LyXView.h
index b97f8241c840dfce59dc822d06d6f14c8586909f..c587ce1dbb43c1c5e662a067fb641f6ac8d9aed0 100644 (file)
@@ -21,6 +21,7 @@ namespace support { class FileName; }
 
 class Buffer;
 class BufferView;
+class Cursor;
 class FuncStatus;
 class FuncRequest;
 class Inset;
@@ -92,8 +93,9 @@ public:
        /// Update the completion popup and the inline completion state.
        /// If \c start is true, then a new completion might be started.
        /// If \c keep is true, an active completion will be kept active
-       /// even though the cursor moved.
-       virtual void updateCompletion(bool start, bool keep) = 0;
+       /// even though the cursor moved. The update flags of \c cur might
+       /// be changed.
+       virtual void updateCompletion(Cursor & cur, bool start, bool keep) = 0;
 
 private:
        /// noncopyable