Home Download Buy Blog Forum Support

Syntax Highlighting Bug

Syntax Highlighting Bug

Postby ajpalkovic on Thu Nov 10, 2011 6:18 am

Paste this in a javascript file:
/asdfsdf/, /asdfasdfdsf/
The first regex is highlighted, the second is not. The second does not have the source.regex.js scope, but the first does.

Because of that, you get other problems such as this:
/asdfsdf/, /asdfas"dfdsf/
var xyz;
You will see that var xyz; is highlighted as a string, which is the real annoyance for this bug.
Posts: 142
Joined: Fri Jun 10, 2011 10:21 pm

Re: Syntax Highlighting Bug

Postby facelessuser on Thu Nov 10, 2011 7:11 am

Try changing this line in your tmLanguage file from:

Code: Select all


Code: Select all
Posts: 1780
Joined: Tue Apr 05, 2011 7:38 pm

Return to Technical Support

Who is online

Users browsing this forum: No registered users and 44 guests