trac-code-comments-plugin icon indicating copy to clipboard operation
trac-code-comments-plugin copied to clipboard

Make linenumbers relative to file

Open SebDieBln opened this issue 8 years ago • 0 comments

This fixes #67. Comments to lines of a file are now referenced to the actual line in the file, not the line in the diff-view. If the comment is for a deleted line, the line-number within the old file is used and saved along with a minus-sign as a flag to indicate it is for the old file.

There is room for further improvement:

  • Migrate of existing comments using default values for creating the diff-view.
  • Show an indicator if a comment is hidden, because the line it is on is outside the current diff-view.

SebDieBln avatar Dec 11 '17 23:12 SebDieBln