Enable syntax highlighting inside differences
Windows visual diff and merge for files and directories
Brought to you by:
christianlist,
grimmdp
Not sure what exactly you want? To disable syntax highlighting? In that case there is option to disable syntax highlighting. Menu / Options / Editor / Highlight syntax.
Or do you want to have syntax highlight in difference lines?
I want to have syntax highlighting in the difference lines so that they are easier to read.
Thanks for clarification! I altered the summary to more clearly say what this is about.
Only problem is the colors - we basically use four colors for differences and finding good colors so that every color combination is readable is tricky. Perhaps one solution could be to have background colors light enough and syntax highlighting colors dark enough. But then we can't affect to user's current customizations and just enabling highlighting would make many customizations look bad.
I think the brightness of the colors could be tweaked to suit. And to possibly not tick a checkbox for it for existing users, only for new users.
Isn't WinMerge working like that, just switch off View line difference and select Sytax Highlight.
matthias, when comparing differences in 2 files, in the 2 windows that contain the source code files (rather than the 2 panes that display only one source code line) the highlighted lines (only) have no syntax coloring, making them harder to read & follow the flow of things. That is the same regardless of whether View line difference is on or off.
if I switch of coloring view line ifference, the line itself is highlight and the syntax is also working.
So background is from difference, textcolorer from syntax.
Both at same time, How can it work?
I would really love for this feature to be implemented. I would really help and make our work easier.
I believe the coloring conflit can be easily fixed by using different colors.
Another option, a more complex one, is to change the highlight diffecence to underline difference.