]> git.lyx.org Git - lyx.git/blobdiff - src/ParIterator.h
Embedding: saving inzip name to .lyx file so that embedded files can always be found...
[lyx.git] / src / ParIterator.h
index 2d16dcce33af09078ccfd6fa2eebf463ee992619..af41cc0744ed91b69f4af2a471ee0de734498423 100644 (file)
@@ -22,7 +22,7 @@
 namespace lyx {
 
 class Inset;
-class LyXText;
+class Text;
 class ParagraphList;
 
 
@@ -81,7 +81,12 @@ ParIterator par_iterator_end(Inset & inset);
 ///
 bool operator==(ParIterator const & iter1, ParIterator const & iter2);
 
-///
+// FIXME: Unfortunately operator!=(ParIterator &, ParIterator &) is implemented with
+// operator!=(DocIterator &, DocIterator &) that gives false if the positions
+// are different, even if the pars are the same. So ultimately it's a bug in
+// operator!=(ParIterator &, ParIterator &) I'd say (nevertheless, I would be
+// reluctant to change it, because I fear that some part of the code could rely on
+// this "bug". --Alfredo
 bool operator!=(ParIterator const & iter1, ParIterator const & iter2);