Closed
Bug 562331
Opened 15 years ago
Closed 15 years ago
Frequent error when opening a file
Categories
(Skywriter Graveyard :: Syntax Highlighting, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
0.7.3
People
(Reporter: dangoor, Assigned: pcwalton)
Details
I have noticed that when I'm switching from one JS file to another and the file is opened with the cursor placed in the middle of the file, I frequently get an error on line 503 of syntaxmanager.js:
503 syntaxDirectory.loadSyntax(context).then(function(syntax) {
The error is that loadSyntax is returning null (the context is null as well, which is probably why loadSyntax returns null).
Assignee | ||
Comment 1•15 years ago
|
||
This particular error is fixed in changeset c66c92935b10, but ultimately this results from a race condition that will only be fixed when syntax engines become web workers.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•