X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxfunc.h;h=4fce15e67865b2e7e7ef1e53f890165f0f294f9a;hb=e7f4618bcce770369cf46335c2c7f0164b4b8857;hp=549e778d897be8ed85797cbcdc508018144712df;hpb=6c300f72a217722652dc27db9108e1050028979c;p=lyx.git diff --git a/src/lyxfunc.h b/src/lyxfunc.h index 549e778d89..4fce15e678 100644 --- a/src/lyxfunc.h +++ b/src/lyxfunc.h @@ -54,7 +54,7 @@ public: void initKeySequences(kb_keymap * kb); /// return the status bar state string - std::string const viewStatusMessage(); + docstring const viewStatusMessage(); /// void processKeySym(LyXKeySymPtr key, key_modifier::state state); @@ -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); };