| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _TextWrappingImplementation extends _CharacterDataWrappingImplementation i
mplements Text { | 7 class _TextWrappingImplementation extends _CharacterDataWrappingImplementation i
mplements Text { |
| 8 _TextWrappingImplementation() : super() {} | 8 _TextWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__TextWrappingImplementation() native { | 10 static create__TextWrappingImplementation() native { |
| 11 return new _TextWrappingImplementation(); | 11 return new _TextWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 String get wholeText() { return _get__Text_wholeText(this); } | 14 String get wholeText() { return _get_wholeText(this); } |
| 15 static String _get__Text_wholeText(var _this) native; | 15 static String _get_wholeText(var _this) native; |
| 16 | 16 |
| 17 Text replaceWholeText(String content) { | 17 Text replaceWholeText(String content) { |
| 18 return _replaceWholeText(this, content); | 18 return _replaceWholeText(this, content); |
| 19 } | 19 } |
| 20 static Text _replaceWholeText(receiver, content) native; | 20 static Text _replaceWholeText(receiver, content) native; |
| 21 | 21 |
| 22 Text splitText(int offset) { | 22 Text splitText(int offset) { |
| 23 return _splitText(this, offset); | 23 return _splitText(this, offset); |
| 24 } | 24 } |
| 25 static Text _splitText(receiver, offset) native; | 25 static Text _splitText(receiver, offset) native; |
| 26 | 26 |
| 27 String get typeName() { return "Text"; } | 27 String get typeName() { return "Text"; } |
| 28 } | 28 } |
| OLD | NEW |