On 09/23/2012 04:40 AM, Kai Willadsen wrote:
Brilliant, thanks! Those are exactly the kinds of changes I was
looking for. I also suspect that we can do even better. Your
set_merge_output() changes actually look like fixes that could be
applied to FileDiff. Also, it looks to me like we no longer need the
hidden buffer. I've attached the changes; let me know if they look
sane. The manual text and buffer handling in FileMerge._merge_files
should probably be replaced with FileDiff.buffer_texts and
FileDiff.buffer_filtered usage; this should avoid some of the unicode
line-splitting issues we've had over the years. While a UI would be
nice, I think most people will use this feature from the command-line.
With these clean-ups (and a bit of testing) I'm very happy to
advertise this as a feature. cheers, Kai
Hi Kai,
The reason for introducing a hidden buffer was to avoid the effect of
middle pane content changing. This can be seen whenever there are any
changes to merge at the beginning of the file. You will see the original
content of the ancestor file first and once the merge is completed it
will be replaced by the result of the merge. Apart from addressing this
visual glitch the hidden buffer is not really needed.
Cheers,
Piotr
_______________________________________________
meld-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/meld-list