]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Make undo action no-ops when the buffer is read-only
[lyx.git] / src / insets / InsetCitation.h
index 3be20013cbc03d8bb183108573472c7b4edff12f..0adf0d4c3a24589f858946c1f9f2edec4a25dd11 100644 (file)
@@ -17,6 +17,7 @@
 
 namespace lyx {
 
+class BufferParams;
 class CitationStyle;
 
 /////////////////////////////////////////////////////////////////////////
@@ -100,6 +101,8 @@ public:
        bool openCitationPossible() const;
        /// search and open citation source
        void openCitation();
+       ///
+       std::pair<int, int> isWords() const override;
 
 private:
        /// tries to make a pretty label and makes a basic one if not
@@ -108,6 +111,8 @@ private:
        docstring complexLabel(bool for_xhtml = false) const;
        /// makes a very basic label, in case we can't make a pretty one
        docstring basicLabel(bool for_xhtml = false) const;
+       /// trims the keys
+       void cleanKeys();
 
        /// \name Private functions inherited from Inset class
        //@{