Closed
Bug 556151
Opened 14 years ago
Closed 14 years ago
Syntax highlighting can overflow the call stack
Categories
(Skywriter Graveyard :: Syntax Highlighting, defect)
Skywriter Graveyard
Syntax Highlighting
Tracking
(Not tracked)
RESOLVED
FIXED
0.7.1
People
(Reporter: pcwalton, Assigned: pcwalton)
Details
If the syntax highlighter has too much work to do, the call stack can overflow, because of the lack of tail calls in JavaScript. It should be enough to add a window.setTimeout(0) call to get a "fake tail call" to fix this one.
Comment 1•14 years ago
|
||
We're going to need to get this one fixed. I get a "too much recursion" error fairly often (just try navigating to the end of a file and you can hit this quite easily...)
Target Milestone: --- → 0.7.2
Updated•14 years ago
|
Assignee: nobody → pwalton
Assignee | ||
Comment 2•14 years ago
|
||
Should be fixed as of changeset 6763defc2cec.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Updated•14 years ago
|
Target Milestone: 0.7.2 → 0.7.1
You need to log in
before you can comment on or make changes to this bug.
Description
•