]> git.lyx.org Git - features.git/blobdiff - src/Buffer.h
move updateLables to buffer
[features.git] / src / Buffer.h
index 23ac227a8e3f5814242d80987c3c184ca3a52b58..db5f9737e2af97b8b5dc188ae85fc9d44c8b6aa5 100644 (file)
@@ -466,6 +466,10 @@ public:
        void setInsetLabel(docstring const & label, InsetLabel const * il);
        InsetLabel const * insetLabel(docstring const & label) const;
 
+       // FIXME: buf should should be const because updateLabels() modifies
+       // the contents of the paragraphs.
+       void updateLabels(bool childonly = false) const;
+
 private:
        /// search for macro in local (buffer) table or in children
        MacroData const * getBufferMacro(docstring const & name,