]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.h
* src/tabular.[Ch]: simplify plaintext methods, because there
[lyx.git] / src / lyxfunc.h
index 549e778d897be8ed85797cbcdc508018144712df..4fce15e67865b2e7e7ef1e53f890165f0f294f9a 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:
        ///
@@ -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);
 };