apertium / apertium-regtest

Regression testing system for Apertium language data and translators
https://wiki.apertium.org/wiki/Apertium-regtest
GNU General Public License v3.0
1 stars 0 forks source link

multiline diff #12

Open unhammer opened 2 years ago

unhammer commented 2 years ago

I got confused by the inline red/green colors of the diffs, is green expected/current/gold here?:

bilde

It'd be nice to have (perhaps optional) multiline diffs like:

EXPECTED: ^Det<SN><@SUBJ→><nt><pl><nom>{^den<det><nt><pl><acc>$}$ …
CURRENT: ^Det<SN><@SUBJ→><nt><pl><nom>{^den<det><dem><nt><pl><acc>$}$  …
(GOLDs: …)

And notably, including the label to the left so new users (or old users with bad memories) immediately see what's what. (golds only applicable for generation of course)

Also, even better would be if the changed words were colored like in magit and wikipedia diffs: bilde

mr-martian commented 2 years ago

and we could auto-detect whether the thing being diffed is 1 line or several so that for things like CG it could be multi-column diff instead.