Add ability to forward line numbers through file search

NEW
Unassigned

Status

--
enhancement
16 years ago
7 years ago

People

(Reporter: alecf, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

16 years ago
Some debugging tools only give you the filename and linenumber by default - it
would be neat to hook them up to lxr, but you have to search for the file.

I think it would be quite cool if you could pass the line numbers through the
filename search, and it would append them to the links as anchors.

What do I mean?
lets say I want to look in the file "nsXULDocument.cpp" on line 47. I could put
the url into lxr as
http://lxr.mozilla.org/seamonkey/find?string=nsXULDocument.cpp&line=47

then the only match it finds would have the link:
http://lxr.mozilla.org/seamonkey/source/content/xul/document/src/nsXULDocument.cpp#47

Comment 1

16 years ago
do you really need to rely on lxr? bonsai can do this:
http://bonsai.mozilla.org/cvsguess.cgi?file=nsXULDocument.cpp&mark=47
(Reporter)

Comment 2

16 years ago
oh neat. That's good... but I still want it through lxr. Maybe cvsguess can be
tweaked to support lxr too.
reassigning endico's bugs to default owner
Assignee: endico → chase

Comment 4

13 years ago
Mass reassign of open bugs for chase@mozilla.org to build@mozilla-org.bugs.
Assignee: chase → build
QA Contact: timeless → lxr

Comment 5

12 years ago
Reassigning all LXR bugs assigned to build@mozilla-org.bugs to the default LXR owner (sorry Bear!)

We aren't actively working on these (if that's wrong, please reassign to yourself/a real person). 
Assignee: build → bear
QA Contact: lxr → timeless

Updated

12 years ago
Blocks: 361839

Updated

12 years ago
No longer blocks: 361839
Severity: normal → enhancement

Updated

12 years ago
Blocks: 361839
QA Contact: timeless → lxr
Assignee: bear → nobody
You need to log in before you can comment on or make changes to this bug.