]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.h
* output_plaintext.C: cosmetics in comment: line length cannot be < 0
[lyx.git] / src / lyxfunc.h
index 549e778d897be8ed85797cbcdc508018144712df..d819fe27f59881286a4e83b69824a2c1fdfc9298 100644 (file)
@@ -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:
        ///
@@ -115,6 +120,8 @@ private:
        ///
        void closeBuffer();
        ///
+       void reloadBuffer();
+       ///
        bool ensureBufferClean(BufferView * bv);
 };