expand redrawing of current row to endpos()

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10742 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2006-01-16 15:17:17 +00:00
parent 395bdd8dea
commit 177ca3eb70
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-01-16 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* rowpainter.C (isCursorOnRow): do not exclude endpos().
2006-01-11 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* cursor.C (macroModeClose): returns true if an inset actually got

View File

@ -735,7 +735,7 @@ bool isCursorOnRow(PainterInfo & pi, pit_type pit, RowList::const_iterator rit)
for (lyx::size_type d = 0; d < cur.depth(); d++)
if (cur[d].pit() == pit
&& cur[d].pos() >= rit->pos()
&& cur[d].pos() < rit->endpos())
&& cur[d].pos() <= rit->endpos())
return true;
return false;
}