]> git.lyx.org Git - lyx.git/blobdiff - src/BufferView.h
* GuiView.C (updateTab): do not update early if current tab has
[lyx.git] / src / BufferView.h
index bceaf1f82fd92d4d6bdffc091c312130802d6bd6..357e33e8cb9bfec0039f717ede69fb9cf693f278 100644 (file)
@@ -125,12 +125,6 @@ public:
        /// return the current change at the cursor.
        Change const getCurrentChange() const;
 
-       /// return the lyxtext we are using.
-       LyXText * getLyXText();
-
-       /// return the lyxtext we are using.
-       LyXText const * getLyXText() const;
-
        /// move cursor to the named label.
        void gotoLabel(docstring const & label);
 
@@ -157,7 +151,8 @@ public:
        /// return true for events that will handle.
        FuncStatus getStatus(FuncRequest const & cmd);
        /// execute the given function.
-       bool dispatch(FuncRequest const & argument);
+       /// \return the Update::flags for further metrics update.
+       Update::flags dispatch(FuncRequest const & argument);
 
        /// request an X11 selection.
        /// \return the selected string.