get the change tracker working again (bug 1719)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9399 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2004-12-20 08:08:18 +00:00
parent 5da7ac4fb5
commit f6d14695d4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-12-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* lyxfind.C (findChange): do not search for end of pars, because
the change tracker cannot handle this (fixes bug 1719).
2004-12-17 Alfredo Braunstein <abraunst@lyx.org>
* paragraph.[Ch] (autoBreakRows): remove

View File

@ -128,7 +128,7 @@ bool findBackwards(DocIterator & cur, MatchString const & match)
bool findChange(DocIterator & cur)
{
for (; cur; cur.forwardChar())
if (cur.inTexted() && !cur.paragraph().empty() &&
if (cur.inTexted() && cur.pos() != cur.paragraph().size() &&
cur.paragraph().lookupChange(cur.pos())
!= Change::UNCHANGED)
return true;