difftastic
difftastic copied to clipboard
Highlight the changed lines in a multiline string more prominently
This would be great. I love difftastic, but it's inconvenient to not easily see what's changed between two long strings. I notice this in Python and C++, but I suppose the handling is similar in other languages. Here's an example:

(The difference is the non on the last line.)
Somehow highlighting the changed words within strings would be great. I see the same behaviour in C++ with just a long single-line string.
Could this be solved by an option to customize the line style (green / red text color) differently from the change style (bold green / red text color)?
For example, difftastic could use a dimmer background color instead of a text color for the line style, which would make the changes pop out more, similar to GitHub.
Possibly related https://github.com/Wilfred/difftastic/issues/167