Closed
Bug 570883
Opened 16 years ago
Closed 16 years ago
Text view should be less sensitive to missing color ranges
Categories
(Skywriter Graveyard :: Editor, defect, P1)
Skywriter Graveyard
Editor
Tracking
(Not tracked)
RESOLVED
FIXED
0.8
People
(Reporter: pcwalton, Assigned: pcwalton)
Details
When the color ranges don't correspond to the actual ranges of text, the text view throws exceptions during _drawLines (which causes the text to disappear). This hurts performance because we have to synchronously wipe out all attributes and fix ranges in the syntax manager on every keystroke. Profiling indicates that, when editing jQuery, over 60% of the time is spent wiping out repairing ranges (in _annotatePlainly). To avoid this, the text view should gracefully degrade when confronted with incorrect color ranges.
| Assignee | ||
Updated•16 years ago
|
Assignee: nobody → pwalton
Severity: normal → blocker
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → 0.8
| Assignee | ||
Comment 1•16 years ago
|
||
Fixed in changeset 5c3e73f2037d.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•