GitXplorerGitXplorer
s

side-by-side-diffs

public
15 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
37d2365904e8912cabbf2fc5456f2883afc04767

updated TODO list

sshiftkey committed 10 years ago
Unverified
132c30112fdbedc8b41b57a78b2e5c75777d88f5

fill in left-hand diff when lines are added

sshiftkey committed 10 years ago
Unverified
04d65a8a598e8b82b56a5b5bfeabe0b8ba9587c0

and the missing rows are inserted and rendered

sshiftkey committed 10 years ago
Unverified
96afa54721e82790676f49150b10dccc8d4ffd72

added README

sshiftkey committed 10 years ago
Unverified
e84c793fc14b90ae2ca0ae2be322038ab0f2de13

add license

sshiftkey committed 10 years ago
Unverified
c9e918151e6ebebb298907c8d81d06f21d746ecf

can haz pretty formattings

sshiftkey committed 10 years ago

README

The README file for this repository.

Avalon Edit Demo - Side by Side Diffs

Someone asked me on Twitter if it was possible to open source some of the diff rendering components we have in GitHub for Windows.

Rather than spend some time breaking out the component from the codebase, I sat down and built up a demo for how side-by-side diffs could look if I was using AvalonEdit. We do this on GitHub The Website, but not in our native apps, so this was an entertaining way to learn what changed I need to make to suppor tthis feature.

What's Working?

Given a diff, the app breaks it up into the specific components and applies the necessary margin and background highlighting.

What's Not Working?

  • word wrapping on one side breaks the other diff - how can we keep thsoe in sync?
  • tied to a specific diff - probably some 💩 edge cases
  • it should render a list of files - make it more generic/flexible