]> git.lyx.org Git - lyx.git/blobdiff - src/iterators.h
ws changes only
[lyx.git] / src / iterators.h
index dcb896acc357075e0c4dff583cedc7872b96f841..8a7ea614a6d34a28f3a76fbd62cd28f2a0b61392 100644 (file)
@@ -6,13 +6,13 @@
  * \author unknown
  * \author Lars Gullik Bjønnes
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #ifndef ITERATORS_H
 #define ITERATORS_H
 
-#include "ParagraphList.h"
+#include "ParagraphList_fwd.h"
 
 #include <boost/scoped_ptr.hpp>
 
@@ -32,7 +32,7 @@ public:
        Paragraph & operator*() const;
        ///
        ParagraphList::iterator operator->() const;
-       ///
+       /// This gives us the top-most parent paragraph
        ParagraphList::iterator outerPar() const;
        ///
        ParagraphList::iterator pit() const;
@@ -71,6 +71,8 @@ public:
        Paragraph const & operator*() const;
        ///
        ParagraphList::const_iterator operator->() const;
+       ///
+       ParagraphList const & plist() const;
 
        /// depth of nesting
        size_t size() const;