On Sat, Mar 18, 2006 at 06:41:50PM +0100, Juergen Spitzmueller wrote:
> Juergen Spitzmueller wrote:

...
 
> There's yet another similar problem BTW, for which I didn't find a solution. 
> When you merge two (UNCHAGED) paragraphs in ct mode, the blue change bar is 
> not immediately painted as well. Unrelated to my rowpainter change.
> 
> Do you have an idea?

Yes, and I committed a patch to trunk:

        * text.C
        (LyXText::backspace): Fix changebar non-update (Juergen)

attached, trivial mistake.

- Martin 

Index: text.C
===================================================================
--- text.C      (revision 13408)
+++ text.C      (working copy)
@@ -1689,7 +1689,7 @@ bool LyXText::backspace(LCursor & cur)
                        if (par.lookupChange(par.size()) != Change::INSERTED) {
                                par.setChange(par.size(), Change::DELETED);
                                setCursorIntern(cur, cur.pit() - 1, par.size());
-                               return false;
+                               return true;
                        }
                }
 

Attachment: pgpWrRcvTLu38.pgp
Description: PGP signature

Reply via email to