X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FBufferView.h;h=357e33e8cb9bfec0039f717ede69fb9cf693f278;hb=e7f4618bcce770369cf46335c2c7f0164b4b8857;hp=bceaf1f82fd92d4d6bdffc091c312130802d6bd6;hpb=5554e9ee284f11fb0b02587ff2775c0502db7cd4;p=lyx.git diff --git a/src/BufferView.h b/src/BufferView.h index bceaf1f82f..357e33e8cb 100644 --- a/src/BufferView.h +++ b/src/BufferView.h @@ -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.