On 03/19/2014 12:10 AM, Karl Tomlinson wrote:
On Thu, 13 Mar 2014 12:46:14 -0400, Erik Rose wrote:
A lot of you have asked for the ability to select and share ranges within
source files. Now, thanks to contributor Jamon Carmisso, you can:
http://dxr.mozilla.org/mozilla-central/source/content/media/AbstractMediaDecoder.h#7-13
As on GitHub, just click one line number and shift-click another.
This is great for posting links on irc, thanks.
But for links in bugzilla, please link to a page associated with a
particular revision number, or the line numbers can get very out
of date. Unfortunately I'm not aware of multi-line highlighting
on hg.mozilla.org so this becomes something like
mxr can do specific revision + multiline.
Something like
http://mxr.mozilla.org/mozilla-central/source/docshell/base/nsDocShell.h?rev=492ce94e6528&mark=94,96,98,100-113,120-134#90
You get the revision number from the bottom of the page. (That UI isn't too
great.)
http://hg.mozilla.org/mozilla-central/annotate/082761b7bc54/content/media/AbstractMediaDecoder.h#l7
I don't know the expected lifetime of
https://github.com/mozilla/gecko-dev/ so I wouldn't be comfortable
recommending
https://github.com/mozilla/gecko-dev/blob/f2ceb1102370652f57952af3c3829ae19dc04d56/content/media/AbstractMediaDecoder.h#L7-L13
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform