Merge branch 'adjust-code-syntax' of https://github.com/srawlins/dart-markdown into srawlins-adjust-code-syntax
diff --git a/pkgs/markdown/CHANGELOG.md b/pkgs/markdown/CHANGELOG.md index fdbb0d6..bf13f84 100644 --- a/pkgs/markdown/CHANGELOG.md +++ b/pkgs/markdown/CHANGELOG.md
@@ -1,7 +1,9 @@ ## 0.8.0 +* **Breaking:** Remove (probably unused) fields: `LinkSyntax.resolved`, + `InlineParser.currentSource`. + * Switch tests to use [test][] instead of [unittest][]. -* Remove (probably unused) `resolved` field from `LinkSyntax`. [test]: https://pub.dartlang.org/packages/test [unittest]: https://pub.dartlang.org/packages/unittest
diff --git a/pkgs/markdown/lib/src/inline_parser.dart b/pkgs/markdown/lib/src/inline_parser.dart index 0bc6111..3b1d9fa 100644 --- a/pkgs/markdown/lib/src/inline_parser.dart +++ b/pkgs/markdown/lib/src/inline_parser.dart
@@ -146,11 +146,6 @@ _stack.last.children.add(node); } - // TODO(rnystrom): Only need this because RegExp doesn't let you start - // searching from a given offset. - @deprecated - String get currentSource => source.substring(pos, source.length); - bool get isDone => pos == source.length; void advanceBy(int length) {