@@ -272,7 +272,7 @@ abstract class Characters implements Iterable<String> {
272
272
273
273
/// Replaces the first occurrence of [pattern] with [replacement] .
274
274
///
275
- /// Returns a new [Characters] where the first occurence of the
275
+ /// Returns a new [Characters] where the first occurrence of the
276
276
/// [pattern] character sequence, if any, is replaced by [replacement] .
277
277
///
278
278
/// Returns the current characters if there is no occurrence of [pattern] .
@@ -304,7 +304,7 @@ abstract class Characters implements Iterable<String> {
304
304
/// The range may even be empty, but that will still correspond to a position
305
305
/// where both start and end happen to be the same position.
306
306
///
307
- /// The source sequence can be separated into the *preceeding * characters,
307
+ /// The source sequence can be separated into the *preceding * characters,
308
308
/// those before the range, the range itself, and the *following* characters,
309
309
/// those after the range.
310
310
///
@@ -318,11 +318,11 @@ abstract class Characters implements Iterable<String> {
318
318
/// Operations starting with `collapse` reduces the current range to
319
319
/// a sub-range of itself.
320
320
/// Operations starting with `expand` increase the current range
321
- /// by moving/ the end postion to a later position
321
+ /// by moving the end position to a later position
322
322
/// or the start position to an earlier position,
323
323
/// and operations starting with `drop` reduce the current range
324
324
/// by moving the start to a later position or the end to an earlier position,
325
- /// therebyt dropping characters from one or both ends from the current range.
325
+ /// thereby dropping characters from one or both ends from the current range.
326
326
///
327
327
///
328
328
/// The character range implements [Iterator]
@@ -479,7 +479,7 @@ abstract class CharacterRange implements Iterator<String> {
479
479
/// Returns `true` if the range is modified and `false` if not.
480
480
bool moveBackTo (Characters target);
481
481
482
- /// Moves to the range after the previous occurence of [target] .
482
+ /// Moves to the range after the previous occurrence of [target] .
483
483
///
484
484
/// If there is an occurrence of [target] in the characters preceding
485
485
/// the current range,
@@ -506,7 +506,7 @@ abstract class CharacterRange implements Iterator<String> {
506
506
/// the current range, and `false` if not.
507
507
bool expandNext ([int count = 1 ]);
508
508
509
- /// Expands the range to include the next occurence of [target] .
509
+ /// Expands the range to include the next occurrence of [target] .
510
510
///
511
511
/// If there is an occurrence of [target] in the characters following
512
512
/// the current range, the end of the the range is moved to just after
@@ -554,7 +554,7 @@ abstract class CharacterRange implements Iterator<String> {
554
554
/// the current range, and `false` if not.
555
555
bool expandBack ([int count = 1 ]);
556
556
557
- /// Expands the range to include the previous occurence of [target] .
557
+ /// Expands the range to include the previous occurrence of [target] .
558
558
///
559
559
/// If there is an occurrence of [target] in the characters preceding
560
560
/// the current range, the stat of the the range is moved to just before
@@ -579,7 +579,7 @@ abstract class CharacterRange implements Iterator<String> {
579
579
/// Returns `true` if there is an occurrence of [target] and `false` if not.
580
580
bool expandBackUntil (Characters target);
581
581
582
- /// Expands the range with the preceding characters satisffying [test] .
582
+ /// Expands the range with the preceding characters satisfying [test] .
583
583
///
584
584
/// Iterates back through the characters preceding the current range
585
585
/// and includes them into the range until finding a character that
@@ -661,7 +661,7 @@ abstract class CharacterRange implements Iterator<String> {
661
661
/// first occurrence of [target] .
662
662
///
663
663
/// If there are no occurrences of [target] in the range,
664
- /// all characteres in the range are removed,
664
+ /// all characters in the range are removed,
665
665
/// which gives the same effect as [collapseToEnd] .
666
666
///
667
667
/// Returns `true` if there is an occurrence of [target] and `false` if not.
@@ -713,7 +713,7 @@ abstract class CharacterRange implements Iterator<String> {
713
713
/// last occurrence of [target] .
714
714
///
715
715
/// If there are no occurrences of [target] in the range,
716
- /// all characteres in the range are removed,
716
+ /// all characters in the range are removed,
717
717
/// which gives the same effect as [collapseToStart] .
718
718
///
719
719
/// Returns `true` if there is an occurrence of [target] and `false` if not.
0 commit comments