Commit Graph

12 Commits

Author SHA1 Message Date
pquitslund@google.com 180c097241 Vim syntax highlighting patches (dartbug.com/5568).
(Submitted by srackham.)

Adds multiline string hightlighting; adds new
syntaxes and deprecates old ones.

- Added: dartMultilineString, dartRawMultilineString

- Updated: new library and raw string syntaxes.

- Changed: string highlighting follows Dart Editor and normative
  conventions i.e.  hightlight entire string literal (don't exclude
    quotes).

- Deprecated (highlighted Todo and named like *_DEPRECATED):
  * old library and raw string syntaxes
  * Dynamic interface (added dynamic type keyword)
  * BadNumberFormatException (added FormatException)
Review URL: https://codereview.chromium.org//11085011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13495 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 20:26:31 +00:00
lrn@google.com 37197c2553 Stop using the Hashable interface.
All objects have a hashCode method, so there is no need for a Hashable
interface.
The interface itself is retained for at least two weeks, to give time for
code to remove uses of it.

Review URL: https://codereview.chromium.org//10993059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12955 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 13:07:54 +00:00
lrn@google.com a1faa6f135 Change IllegalArgumentException to ArgumentError.
Review URL: https://codereview.chromium.org//10989013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12841 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-25 12:27:52 +00:00
lrn@google.com f52c24b62f Rename NoSuchMethodException to NoSuchMethodError.
Moved NoSuchMethodError to errors.dart.
No changes in co19 tests, but test status updated.

Review URL: https://chromiumcodereview.appspot.com//10909166

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12172 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-11 09:52:25 +00:00
pquitslund@google.com aa6b0540c2 Vim support for 'external'.
Review URL: https://chromiumcodereview.appspot.com//10843054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10190 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 18:31:58 +00:00
jmesserly@google.com 1d9b213866 Vim syntax updates: highlight dart core interfaces
https://github.com/dart-lang/dart/pull/5

Highlight all interfaces listed on the dart:core page:
http://api.dartlang.org/dart_core.html

Thanks to Ajnasz for this change!

Review URL: https://chromiumcodereview.appspot.com//10207025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6916 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 23:47:02 +00:00
jmesserly@google.com 956715b105 Updated VIM bindings, thanks to Ladicek!
https://github.com/dart-lang/dart/pull/2

Review URL: https://chromiumcodereview.appspot.com//10166019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6816 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 23:01:06 +00:00
alexeif@google.com 0a3383c963 Add operator keyword to vim syntax.
Review URL: http://codereview.chromium.org//8954011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2466 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 13:51:44 +00:00
alexeif@google.com 7fd3f3d2f6 Tweaks to string escapes. Added raw string literals.
Review URL: http://codereview.chromium.org//8437100

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1248 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-07 13:03:16 +00:00
alexeif@google.com c673b4a335 Fix hilighting of string interpolation and several operators.
Review URL: http://codereview.chromium.org//8432002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1003 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-01 12:02:44 +00:00
alexeif@google.com 029f5029e9 Add abstract keyword.
Review URL: http://codereview.chromium.org//8359003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@687 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-25 11:48:48 +00:00
dgrove@google.com 6b6b28e065 Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:34:19 +00:00