]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.h
* src/text2.C: deleteEmptyParagraphMechanism(): fix a crash in
[lyx.git] / src / lyxfunc.h
index 2e36ba19ab1bd846fd89f3405a94101e92256f19..4fce15e67865b2e7e7ef1e53f890165f0f294f9a 100644 (file)
@@ -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);
 };