Multiline Highlighting in Diffusion

Summary:
I added multiline highlighting with the syntax:

  http://site/path/to/file$from-to

NOTE: you can reverse the from and to

Test Plan: Open a file in diffusion and attempt to highlight multiple lines

Reviewers: epriestley

CC: aran, epriestley

Differential Revision: https://secure.phabricator.com/D1693
This commit is contained in:
Korvin Szanto
2012-02-25 11:45:51 -08:00
parent ecc81ca9dc
commit e24a6acf58
2 changed files with 20 additions and 5 deletions

View File

@@ -265,7 +265,7 @@ class AphrontDefaultApplicationConfiguration
'browse/'.
'(?P<path>.*?)'.
'(?:[;](?P<commit>[a-z0-9]+))?'.
'(?:[$](?P<line>\d+))?'.
'(?:[$](?P<line>\d+(?:-\d+)?))?'.
'$'
=> 'DiffusionBrowseController',
'diff/'.