Commit Graph

9 Commits

Author SHA1 Message Date
kevin 2faba0dbea Switch JavaScript object matching to be case-sensitive
git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@746 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2005-04-26 09:59:07 +00:00
kevin 6a3fdd55e6 Update JavaScript syntax to include all of the niceties of the JavaScript (PHP) syntax
Update the White background settings to color all of the special JavaScript keyword types nicely

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@744 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2005-04-26 09:18:33 +00:00
kevin 6854a952c3 Fix JavaScript regex to not override block comments
git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@743 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2005-04-26 08:15:27 +00:00
kevin d99e47abb8 Update JavaScript syntax definition for b6
Fix the regex matching to only match regexes (defined as starting a line or following a "=" or "(" with optional whitespace)

git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@742 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2005-04-26 08:05:12 +00:00
duff 2b96a7f41b Changed all names to singular form.
git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@649 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2005-04-22 08:47:20 +00:00
duff 8e51a1f42f • Added scopeName key to all languages. Most of them as source.<filename>.
• Added a language for plain text files, currently just markups bullet points (so I can continue these on 'enter' using a scoped snippet).
• Added a new “firstLineMatch” key to Perl, Ruby, and Shell languages.
• The C/Objective-C languages use the scopeName in their include directives, this doesn't work for beta 5.
• Ruby now includes “source.ruby” when using #{ ... } in strings.
• Added capture names to a few languages (objective-c methods, though it's not very consistant, we'll need to discuss how to split up functions and name the various parts).
• Removed plist filetype from XML, assuming that people loading a plist into a text editor would generally use the old-style format.



git-svn-id: http://macromates.com/svn/Bundles/trunk/JavaScript.tmbundle@612 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2005-04-21 07:08:56 +00:00
neoneye d7093479d0 I noticed that RegExp.$3 wasn't colored correct. The '3' was colored as it were a number.. in this context its an instance variable.
I added a rule to recognize instance variables.

git-svn-id: http://macromates.com/svn/Bundles/trunk/JavaScript.tmbundle@526 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2005-03-22 11:13:31 +00:00
chris 7155975069 Convert JavaScript to new scheme
git-svn-id: http://macromates.com/svn/Bundles/trunk/JavaScript.tmbundle@182 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2005-02-02 05:53:42 +00:00
duff 79bc5ba34e JavaScript syntax by Caio Chassot.
git-svn-id: http://macromates.com/svn/Bundles/trunk/JavaScript.tmbundle@166 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2005-02-01 02:31:31 +00:00