Re: Change tracking cut and paste

2006-04-05 Thread Jean-Marc Lasgouttes
> "Michael" == Michael Gerz <[EMAIL PROTECTED]> writes: Michael> We should go for the "dirty" solution. Actually, I am already Michael> working on it :-) The dirty solution seems reasonable indeed. This is 1.4.2 material, though. JMarc

Re: Change tracking cut and paste

2006-04-05 Thread Michael Gerz
Georg Baum wrote: I see. Then we have a choice: - clean: Fix LyX 1.4.2 to never produce documents with ct marks, but ct off. Implement documents with ct marks, but ct off in 1.5 after a file format change. - dirty: Since we are in eraly 1.4.x stage, implement documents with ct marks, but ct

Re: Change tracking cut and paste

2006-04-05 Thread Georg Baum
Am Mittwoch, 5. April 2006 20:49 schrieb Juergen Spitzmueller: > But that should be possible (in theory). It's possible with Ooo and MSWord. I see. Then we have a choice: - clean: Fix LyX 1.4.2 to never produce documents with ct marks, but ct off. Implement documents with ct marks, but ct off

Re: Change tracking cut and paste

2006-04-05 Thread Michael Gerz
Juergen Spitzmueller wrote: Files with ct marks that don't have ct switched on are simply invalid. LyX should never produce such files. But that should be possible (in theory). It's possible with Ooo and MSWord. Yes, that MUST be possible - at least if we want to play in the champion's

Re: Change tracking cut and paste

2006-04-05 Thread Michael Gerz
Juergen Spitzmueller wrote: OTOH we want to allow switching ct on and off without merging changes in advance (bug 2030), so we shouldn't delete the mark, but rather fix the crash. I agree. Michael

Re: Change tracking cut and paste

2006-04-05 Thread Juergen Spitzmueller
Georg Baum wrote: > Files with ct marks that don't > have ct switched on are simply invalid. LyX should never produce such > files. But that should be possible (in theory). It's possible with Ooo and MSWord. Jürgen

Re: Change tracking cut and paste

2006-04-05 Thread Georg Baum
Juergen Spitzmueller wrote: > Jose' Matos wrote: > >> Good. :-) >> >> What about files saved this way? > > The change tracking marks are only removed during paste. > >> LyX should not crash when loading them. :-( > > True. For 1.5, I think a file format change and lyx2lyx would be in order.

Re: Change tracking cut and paste

2006-04-05 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote: > True. For 1.5, I think a file format change and lyx2lyx would be in order. > But what shall we do with 1.4? OTOH we want to allow switching ct on and off without merging changes in advance (bug 2030), so we shouldn't delete the mark, but rather fix the crash. Jürgen

Re: Change tracking cut and paste

2006-04-05 Thread Juergen Spitzmueller
Jose' Matos wrote: > Good. :-) > > What about files saved this way? The change tracking marks are only removed during paste. > LyX should not crash when loading them. :-( True. For 1.5, I think a file format change and lyx2lyx would be in order. But what shall we do with 1.4? Jürgen

Re: Change tracking cut and paste

2006-04-05 Thread Juergen Spitzmueller
Martin Vermeer wrote: > Working as in: applying cleanly and doing the job today? > That's great! I completely missed this scenario. Yes (works perfectly for me). Someone should test it, though. Jürgen

Re: Change tracking cut and paste

2006-04-05 Thread Martin Vermeer
On Wed, Apr 05, 2006 at 06:52:19PM +0200, Juergen Spitzmueller wrote: > Martin Vermeer wrote: > > >> I noticed that this is not fixed even in 1.5.0svn. Is there any bug > >> report in bugzilla? > > > > No... > > And what about this? > http://bugzilla.lyx.org/show_bug.cgi?id=2207 > > There's eve

Re: Change tracking cut and paste

2006-04-05 Thread Martin Vermeer
On Wed, Apr 05, 2006 at 04:55:22PM +0200, Michael Gerz wrote: > Martin Vermeer wrote: > > >No... we should disallow that. Or more precisely, remove CT markings > >from the paste buffer. > > > > > > Martin, > > I had a look at the sources. It seems the internal CT data structures > are only se

Re: Change tracking cut and paste

2006-04-05 Thread Jose' Matos
On Wednesday 05 April 2006 17:52, Juergen Spitzmueller wrote: > > And what about this? > http://bugzilla.lyx.org/show_bug.cgi?id=2207 > > There's even a working patch. Good. :-) What about files saved this way? LyX should not crash when loading them. :-( For 1.5 as I have reported in th

Re: Change tracking cut and paste

2006-04-05 Thread Michael Gerz
Martin Vermeer wrote: No... we should disallow that. Or more precisely, remove CT markings from the paste buffer. Martin, I had a look at the sources. It seems the internal CT data structures are only set up if a buffer is actually in CT mode. I think this makes it impossible to switch

Re: Change tracking cut and paste

2006-04-05 Thread Juergen Spitzmueller
Martin Vermeer wrote: >> I noticed that this is not fixed even in 1.5.0svn. Is there any bug >> report in bugzilla? > > No... And what about this? http://bugzilla.lyx.org/show_bug.cgi?id=2207 There's even a working patch. Jürgen

Re: Change tracking cut and paste

2006-04-05 Thread Jose' Matos
On Wednesday 05 April 2006 16:46, Martin Vermeer wrote: > > No... we should disallow that. Or more precisely, remove CT markings > from the paste buffer. Now #2484. > - Martin -- José Abílio

Re: Change tracking cut and paste

2006-04-05 Thread Martin Vermeer
On Wed, Apr 05, 2006 at 04:40:21PM +0100, Jose' Matos wrote: > Hi, > a colleague had lyx crashing yesterday. > > I noticed that the cause was that she copied and paste from a document > where > change tracking was activated to an ancient document where change tracking > was disabled