On Monday 26 March 2007 3:24:15 pm Abdelrazak Younes wrote: > José Matos wrote: > > On Wednesday 21 March 2007 6:57:50 pm Jean-Marc Lasgouttes wrote: > >> Personally, I would try to implement the diff algorithm directly in > >> the core. Would it be so difficult? I have to admit that I do not know > >> the details of the algorithm. > > > > My feeling is that it will be easy to have it outside, > > Doing it outside would imply to update the diff algorithm for each > revision of the file format (same as Tex2lyx IIUC).
Not necessarily, for two reasons, if we use a self-describing format (such as xml) we can always compare the treeview. The second reason at least to me is a close integration with lyx2lyx, or more precisely of the underlying LyX.py module. > > and at the same time > > to borrow code that does the same. > > > > I am not opposed to an internal implementation, FWIW. > > The advantage is that you can reuse the CT algorithms implemented there: > not all changes needs to be tracked. OK. > Abdel. -- José Abílio
