On Mon, 2006-03-13 at 08:13 +0100, Juergen Spitzmueller wrote:
> Martin Vermeer wrote:
> > What was the original reason for introducing it?
> > Can we get rid of it?
> 
> It's not my doing. It's this:
> 
> Log message:
>         (Johnathan Burchill): change tracker fixes (bug 1827)
> 
> Bugs:
> http://bugzilla.lyx.org/show_bug.cgi?id=1827
> 
> But in general, change tracking and DESM/DEPM are a tricky couple.

I see. This doesn't help much.

Would it be possible to simply disable DESM/DEPM when CT is on, so the
one cannot subvert the other? Would save us a lot of heartache.

Short of that, I think stripLeadingSpaces is only called from places
where CT should be honoured. So I propose to remove the line

setChange(0, Change::INSERTED);

There is BTW another place inside DEPM where this trick is used. I don't
like it a bit.

- Martin

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to