Diff Selection
OneDev allows to select a range of text while comparing revisions to create permanent links or add comments.
Valid Selections
As long as selection begin and end are on same revision, the selection will be valid even if the selection body contains other revision:
Invaid Selections
Some selections are considered invalid:
If the selection contains unexpanded lines like below:
If the selection contains expanded lines like below:
If begin and end of the selection are on different revision like below: