Closed
Bug 780631
Opened 12 years ago
Closed 12 years ago
Don't change the selected script while filtering if the file part from the search expression hasn't changed
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 17
People
(Reporter: vporof, Assigned: vporof)
References
Details
Attachments
(1 file)
5.73 KB,
patch
|
rcampbell
:
review+
|
Details | Diff | Splinter Review |
If there are two very similarly named files, for example: foo/bar/baz.js baz.js ...then when trying a filter like baz.js#token, for each letter entered in the #token, the selected script switches to `foo/bar/todos.js` if the previously selected script was `todos.js`. Thus, the script always switches to the first found mach. This annoyed me today.
Assignee | ||
Comment 1•12 years ago
|
||
s/todos/baz :)
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #650180 -
Flags: review?(rcampbell)
Comment 3•12 years ago
|
||
Comment on attachment 650180 [details] [diff] [review] v1 - if (token.length) { + if (this._prevSearchedToken !== token && token.length > 0) { could just use && token.length but OK for highlighting you have a number there.
Attachment #650180 -
Flags: review?(rcampbell) → review+
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Rob Campbell [:rc] (:robcee) from comment #3) > Comment on attachment 650180 [details] [diff] [review] > v1 > > - if (token.length) { > + if (this._prevSearchedToken !== token && token.length > 0) { > > could just use && token.length but OK for highlighting you have a number > there. Yeah, that's exactly what I was going for. I bit myself with this here at some point sometime.
Assignee | ||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/0349be34cdc1
Whiteboard: [fixed-in-fx-team]
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/0349be34cdc1
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 17
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•