Replying to cboos:
Potentially useful for making small edits, like fixing typos, the inlined documentation, etc.
And instead of "saving" by performing a commit, we could create a diff as an attachment to an existing ticket or to a new one (if the ticket field is left blank).
The "Review changes" page should present the diff in the usual way, but also a textarea containing the diff as plain text for copy/pasting (or should have a link to the raw diff).
That would be for the "Edit" feature, a related feature could be "Review" (a simple form of #2035), where the original text would be quoted (> ...
), and the saving would create a new comment for the selected ticket (or, like in the above, a new ticket if the ticket field is left empty).
Those two features would be useful not only for source files in the repository, but also for attachments. Combined with a patch renderer that is more resilient to "fragmented" patches, it would make it easier to review patches.