feature request: partial-context diff
sam.jaques at gmail.com
sam.jaques at gmail.com
Tue Apr 21 07:58:17 EDT 2015
Hello again Jamie
Thank you for the info you provided so far.
About the non-changes; I see they are not yet available in the code, do you know in which function to get them the best? I assume this function should return something like: [changes, equals].
Thanks,
Sam
On Thursday, February 12, 2015 at 10:21:46 PM UTC+1, Jamie Peabody wrote:
> Yes, markText is probably the right way to do it.
>
>
> Around 1195, it iterates through the list of changes and builds an array of marktext. That marktext is used on line 1251 and 1259 to apply markup.
>
>
> I think the right way to do it would be to something similar for non-changes. E.g., if line 6-10 changed, then non-changes would be 1-5 and 11+.
>
>
> Anyhow, it's a good start.
More information about the kallithea-general
mailing list