Frequent error when opening a file

RESOLVED FIXED in 0.7.3

Status

Skywriter
Syntax Highlighting
P1
blocker
RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: Kevin Dangoor, Assigned: pcwalton)

Tracking

0.6.2
0.7.3
x86
Mac OS X

Details

(Reporter)

Description

8 years ago
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

8 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
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.