mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
395bdd8dea
commit
177ca3eb70
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user