]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
fix #9826: Outline disclosure of subsection content disappears one second after
[lyx.git] / src / Paragraph.cpp
index a405b6a806d7d2fd8f49f8bbb08b339a16e2c73a..d6106b37d4f919b4e31abb8f7882735fc077feaf 100644 (file)
@@ -562,6 +562,18 @@ void Paragraph::addChangesToToc(DocIterator const & cdit,
 }
 
 
+void Paragraph::addChangesToBuffer(Buffer const & buf) const
+{
+       d->changes_.updateBuffer(buf);
+}
+
+
+bool Paragraph::isChangeUpdateRequired() const
+{
+       return d->changes_.isUpdateRequired();
+}
+
+
 bool Paragraph::isDeleted(pos_type start, pos_type end) const
 {
        LASSERT(start >= 0 && start <= size(), return false);