X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfunc.h;h=4fce15e67865b2e7e7ef1e53f890165f0f294f9a;hb=e7f4618bcce770369cf46335c2c7f0164b4b8857;hp=2e36ba19ab1bd846fd89f3405a94101e92256f19;hpb=c6f0c8d0b60029a24e1ecb2f8aaf48aeae4405e5;p=lyx.git diff --git a/src/lyxfunc.h b/src/lyxfunc.h index 2e36ba19ab..4fce15e678 100644 --- a/src/lyxfunc.h +++ b/src/lyxfunc.h @@ -75,6 +75,11 @@ public: docstring const getMessage() const { return dispatch_buffer; } /// Handle a accented char key sequence void handleKeyFunc(kb_action action); + /// goto a bookmark + /// openFile: whether or not open a file if the file is not opened + /// switchToBuffer: whether or not switch to buffer if the buffer is + /// not the current buffer + void gotoBookmark(unsigned int idx, bool openFile, bool switchToBuffer); private: /// @@ -83,7 +88,7 @@ private: /// LyXView * lyx_view_; - /// the last character added to the key sequence, in ISO encoded form + /// the last character added to the key sequence, in UCS4 encoded form char_type encoded_last_key; /// @@ -115,6 +120,8 @@ private: /// void closeBuffer(); /// + void reloadBuffer(); + /// bool ensureBufferClean(BufferView * bv); };