Closed Bug 1172257 Opened 11 years ago Closed 9 years ago

Source viewer line number is off

Categories

(addons.mozilla.org Graveyard :: Admin/Editor Tools, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: TheOne, Unassigned)

Details

(Whiteboard: [ReviewTeam:P2])

Attachments

(1 file)

For large files the source viewer line number display is heavily off: Example: Open a js file directly (raw view) https://addons.cdn.mozilla.net/en-US/firefox/files/browse/320368/file-serve/resources/izhihu/data/izhihu.js (you need to be logged in with reviewer privileges) Search for the following text: $zhHomeListTitle.empty().append(contentsNew).find('i').eq(0).after(filterBtns).remove(); In case you don't have access, that code is on line 2717. Looking at the same file with the viewer: https://addons.mozilla.org/en-US/firefox/files/browse/320368/file/resources/izhihu/data/izhihu.js#L2717 Line 2717 shows actually what is on line 2715. This was tested with the standard view settings (tree shown, word wrap enabled). cc'ing Andrew as well as he mentioned to me it is just a CSS issue and he might have a specific hint.
Attached file Example file
Attaching the JS file mentioned in the report.
Whiteboard: [ReviewTeam]
Assignee: nobody → kmaglione+bmo
Whiteboard: [ReviewTeam] → [ReviewTeam:P2]
Product: addons.mozilla.org → addons.mozilla.org Graveyard
Assignee: kmaglione+bmo → nobody
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: