Closed
Bug 102378
Opened 23 years ago
Closed 21 years ago
When clicking on an error in the JavaScript console mozilla should highlight the line causing problem
Categories
(SeaMonkey :: UI Design, enhancement)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: nick, Assigned: doronr)
References
Details
It's very nice what it does right now. But wouldn't it be much better if when
you click on the error it took you to the proper source file line and
highlighted it? Now it opens the source file but it's difficult to find the
error whithout saving the source to a file and doing "vi +198 source.js".
-> XP apps
Assignee: asa → pchen
Component: Browser-General → XP Apps
QA Contact: doronr → sairuh
Comment 2•23 years ago
|
||
See bug 15364
At the moment, there is really no good way to find the right line in view
source... But this would be a really good idea, yes.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 3•23 years ago
|
||
I imagine something like this (I know very little about the inner workings of
mozilla, sorry):
The JavaScript console points to an URL like... view-source:[.......]?line=N .
Where such an URL is followed, a "view source" windows is opened which scrolls
to the given line and highlits it.
If the users clicks (or select with the keyboard) on another error which points
to the same file, that error should be highlited in the previously opened
view-source window. This way the user will be able to easily inspect all the
errors which occured in a page just with the "up" and "down" keys.
Just some ideas... sorry for disturbing the bugzilla peace.. (!) bye!
Comment 4•23 years ago
|
||
> The JavaScript console points to an URL like... view-source:[.......]?line=N .
> Where such an URL is followed, a "view source" windows is opened which scrolls
> to the given line and highlits it.
That's exactly what I'd like to do once view source counts lines correctly. :)
As for the other, that would indeed be cool. I'll try to think of a way to do
it, but I'm really not sure how to approach it...
Updated•23 years ago
|
Component: XP Apps → JavaScript Console
QA Contact: sairuh → jrgm
Comment 5•23 years ago
|
||
is this bug really js console? the js console is doing the right thing. It's
just the view-source window that doesn't support linenumber and highlight.
seems like a dupe of bug 79612
Reporter | ||
Comment 6•23 years ago
|
||
Comment 7•23 years ago
|
||
This is up to the view-source window, not the javascript console.
Assignee: pchen → blakeross
Component: JavaScript Console → XP Apps: GUI Features
QA Contact: jrgm → sairuh
Comment 9•21 years ago
|
||
Clicking on a link in the JS console now highlights the line of the error or
warning. Looks like this bug is WFM.
Comment 10•21 years ago
|
||
Yeah, this got fixed when bug 104383 got fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•