On Sat, Dec 31, 2005 at 07:40:40PM +0200, Martin Vermeer wrote:
> On Sat, Dec 31, 2005 at 05:51:47PM +0100, Lars Gullik Bjønnes wrote:
> > Martin Vermeer <[EMAIL PROTECTED]> writes:
> > 
> > | Index: rowpainter.C
> > | ===================================================================
> > | RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/rowpainter.C,v
> > | retrieving revision 1.161
> > | diff -u -p -r1.161 rowpainter.C
> > | --- rowpainter.C  30 Dec 2005 19:02:52 -0000      1.161
> > | +++ rowpainter.C  31 Dec 2005 17:07:55 -0000
> > | @@ -774,8 +774,9 @@ void paintPar
> > |           // If selection is on, the current row signature differs from
> > |           // from cache, or cursor is inside an inset _on this row_, 
> > |           // then paint the row
> > | -         if (repaintAll || par.rowSignature()[rowno] != row_sig 
> > | -                    || cur_in_inset_in_row) {
> > | +         if (repaintAll || par.rowSignature()[rowno] != row_sig
> > | +                     || par.isChangeEdited(rit->pos(),
> > 
> > Is isChangeEdited better to use than isChanged?
> > (why?)
> 
> Ah, did't even notice there were two of them.
> 
> isChanged is apparently the correct one to use.

I'll commit the isChanged version if no-one objects. Verified that it
does the job for both deletions and insertions.

- Martin

Attachment: pgpDhJJC8DSak.pgp
Description: PGP signature

Reply via email to