23 Commits

Author SHA1 Message Date
Thomas Aylott 0b17098fc2 [NEW] Run Javascript command can now parse your script for "@require 'something'"; Require relative paths, urls and keywords. Require CSS or JS. 2009-04-17 17:37:43 -04:00
Thomas Aylott a8b1d18261 MUCH simpler and more bulletproof regex for indent and folding with tests 2009-02-15 08:14:35 +00:00
Thomas Aylott 4d6df87768 Fixed a strange issue with the folding & indent. It wasn't properly matching escaped strings inside strings 2009-02-15 08:14:35 +00:00
Thomas Aylott ca274896fa Updated Javascript syntax test 2009-02-15 08:14:35 +00:00
Thomas Aylott 8faa40bacf Fixed indent rules for single-line case statements 2009-02-15 08:14:34 +00:00
Thomas Aylott 148d7ee9f3 NEW Advanced Folding and Indent patterns!
Added switch…case tests
2009-02-15 08:14:34 +00:00
Thomas Aylott 53cf154cf1 More advanced indent & folding tests 2009-02-15 08:14:34 +00:00
Thomas Aylott ef4f576d6f Special indent/folding tests 2009-02-15 08:14:34 +00:00
Thomas Aylott 5c0aa849b3 NEW: Advanced folding rules
Added more Tests for folding and indent
2009-02-15 08:14:33 +00:00
Thomas Aylott 90c28a16a1 Folding & Indent Test 2009-02-15 08:14:33 +00:00
Thomas Aylott e129d1dc19 Tests for labels and new new 2009-02-15 08:14:32 +00:00
Thomas Aylott d650e3bab9 Added operators to the syntax tests and more examples 2009-02-15 08:14:32 +00:00
Thomas Aylott 4f1de2226d Trying to come up with an exhaustive list of all literal syntax 2009-02-15 08:14:32 +00:00
Thomas Aylott 6ccd572492 Syntax Tests for Function Calls and Variables / Properties 2009-02-15 08:14:32 +00:00
Thomas Aylott a2937c6427 Added special-comments-conditional-compilation for IE; Added leading-space scopes 2009-02-15 08:14:32 +00:00
subtlegradient 8b7b886f82 Fixed the illegal number scopes
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@10185 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2008-07-07 17:17:39 +00:00
subtlegradient d99f721b82 .999 numbers.invalid scopes for octal and hex. -999 and +999 numbers
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@10184 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2008-07-07 17:17:32 +00:00
subtlegradient 1a60d48c2a Reorganize the JavaScript Basic syntax. Moved everything into the repository.
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@10183 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2008-07-07 17:17:26 +00:00
subtlegradient ac0c3b2f56 Improved String Literal syntax. Fixed the "bug" where an unclosed string extends past the closign script tag in html.
String should end on \n with a syntax error
String should end on </script>\n with a syntax error
String should mark </script> as invalid

git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@10170 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2008-07-05 23:42:19 +00:00
subtlegradient 37132a7244 More and more syntax tests
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@10169 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2008-07-05 23:42:13 +00:00
subtlegradient 535a98f1f7 More syntax tests
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@10112 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2008-07-02 17:01:46 +00:00
subtlegradient 65981d95f2 Some syntax tests
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@10108 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2008-07-02 17:01:25 +00:00
subtlegradient a8f3f40b77 Added a tests folder with some starter files
git-svn-id: http://macromates.com/svn/Bundles/trunk/Review/Bundles/JavaScript.tmbundle@10104 dfb7d73b-c2ec-0310-8fea-fb051d288c6d
2008-07-02 17:01:05 +00:00