Closed
Bug 606613
Opened 14 years ago
Closed 13 years ago
JS syntax highlights "require" in unfortunate circumstances
Categories
(Skywriter Graveyard :: Syntax Highlighting, defect)
Skywriter Graveyard
Syntax Highlighting
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: Parasyte, Unassigned)
Details
Attachments
(1 file)
794 bytes,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b8pre) Gecko/20101020 Firefox-4.0/4.0b8pre
Build Identifier:
Using Skywriter from the bespinclient repo, the JS syntax highlighter styles this example incorrectly:
> require("foo");
> var requires_testing = true;
The first line looks correct.
The second line highlights the word "require" within the "requires_testing" variable name -> Bug.
See attached patch for a simple workaround.
Reproducible: Always
Reporter | ||
Comment 1•14 years ago
|
||
Comment 2•13 years ago
|
||
ACETRANSITION The Skywriter project has merged with Ajax.org's Ace project (the full server part of which is their Cloud9 IDE project). Background on the change is here: http://mozillalabs.com/skywriter/2011/01/18/mozilla-skywriter-has-been-merged-into-ace/ The bugs in the Skywriter product are not necessarily relevant for Ace and quite a bit of code has changed. For that reason, I'm closing all of these bugs. Problems that you have with Ace should be filed in the Ace issue tracker at GitHub: https://github.com/ajaxorg/ace/issues
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•