From: Pavel Sanda Date: Wed, 9 Jan 2008 13:14:14 +0000 (+0000) Subject: Add ParIterator FIXME. X-Git-Tag: 1.6.10~6693 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6be5a0cf52f03231e18d79189205add56ffbde82;p=features.git Add ParIterator FIXME. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22453 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/ParIterator.h b/src/ParIterator.h index b45c0fa5fd..af41cc0744 100644 --- a/src/ParIterator.h +++ b/src/ParIterator.h @@ -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);