stevencohn / OneMore

A OneNote add-in with simple, yet powerful and useful features
Mozilla Public License 2.0
2.6k stars 219 forks source link

Add diff colorization #1170

Closed koppor closed 10 months ago

koppor commented 11 months ago

Problem to Solve

"Code" highlighting using diff

Example:

- old line
+ new line

New Feature/Solution

Add "diff" to Colorize"

image

Alternative Solutions

Manual coloring

stevencohn commented 11 months ago

You're talking about Linux diff -color or colordiff style output?

Rule such as these?

Something like that?

jasonjac2 commented 11 months ago

If you could combine that with a syntax highlight, that would be great, e.g. C# with Diff. I still haven't perfected my Pascal / Delphi one.