Hi, 

In Kallithea (kallithea-scm.org) we are using Mergely to display diffs of 
source code as side-by-side diff.

Currently, these diffs always show the complete file, even though maybe only 
one line has changed.

A nice feature would therefore be that the shown diff would be limited to the 
lines that changed with some context, just like a unified diff but in 
side-by-side mode. A button could then allow the user to expand the context by 
some amount of lines, or to expand to the full-file context.

The core of this behavior is already implemented in jsdifflib 
http://cemerick.github.io/jsdifflib/demo.html, where you can specify a context 
size.

What do you think about this request?
Would it be difficult to implement in Mergely?

Thanks,
Thomas
_______________________________________________
kallithea-general mailing list
[email protected]
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to