codediff.js
codediff.js copied to clipboard
Show metadata associated with individual lines
Need some way to stick arbitrary markup under a line to show inline comments.
This will make balancing left/right sides more difficult. (Would require either table layout or JS-based layout).
Here's a small demo based on how ReviewBoard handles this. The gist is that you style the left column cells to be un-selectable when the user clicks on the right side. Then you intercept the copy
event and fill in the payload appropriately.