]> git.lyx.org Git - features.git/blobdiff - src/Changes.h
Add a "List of Changes" in the Navigator. The list is updated only when the document...
[features.git] / src / Changes.h
index 631419bc3065d71963d4ae9957c36c79aa934f68..09ac0aa0fe7d3dd52271f2a1574ab23693d9a432 100644 (file)
@@ -27,6 +27,8 @@
 namespace lyx {
 
 class AuthorList;
+class Buffer;
+class DocIterator;
 
 class Change {
 public:
@@ -92,8 +94,6 @@ public:
        /// return true if there is a change in the given range (excluding end)
        bool isChanged(pos_type start, pos_type end) const;
 
-       ///
-
        /// output latex to mark a transition between two change types
        /// returns length of text outputted
        static int latexMarkChange(odocstream & os, BufferParams const & bparams,
@@ -106,6 +106,9 @@ public:
        ///
        void checkAuthors(AuthorList const & authorList);
 
+       ///
+       void addToToc(DocIterator const & cdit, Buffer const & buffer) const;
+
 private:
        class Range {
        public: