@@ -272,7 +272,7 @@ abstract class Characters implements Iterable<String> {
272272
273273 /// Replaces the first occurrence of [pattern] with [replacement] .
274274 ///
275- /// Returns a new [Characters] where the first occurence of the
275+ /// Returns a new [Characters] where the first occurrence of the
276276 /// [pattern] character sequence, if any, is replaced by [replacement] .
277277 ///
278278 /// Returns the current characters if there is no occurrence of [pattern] .
@@ -304,7 +304,7 @@ abstract class Characters implements Iterable<String> {
304304/// The range may even be empty, but that will still correspond to a position
305305/// where both start and end happen to be the same position.
306306///
307- /// The source sequence can be separated into the *preceeding * characters,
307+ /// The source sequence can be separated into the *preceding * characters,
308308/// those before the range, the range itself, and the *following* characters,
309309/// those after the range.
310310///
@@ -318,11 +318,11 @@ abstract class Characters implements Iterable<String> {
318318/// Operations starting with `collapse` reduces the current range to
319319/// a sub-range of itself.
320320/// 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
322322/// or the start position to an earlier position,
323323/// and operations starting with `drop` reduce the current range
324324/// 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.
326326///
327327///
328328/// The character range implements [Iterator]
@@ -479,7 +479,7 @@ abstract class CharacterRange implements Iterator<String> {
479479 /// Returns `true` if the range is modified and `false` if not.
480480 bool moveBackTo (Characters target);
481481
482- /// Moves to the range after the previous occurence of [target] .
482+ /// Moves to the range after the previous occurrence of [target] .
483483 ///
484484 /// If there is an occurrence of [target] in the characters preceding
485485 /// the current range,
@@ -506,7 +506,7 @@ abstract class CharacterRange implements Iterator<String> {
506506 /// the current range, and `false` if not.
507507 bool expandNext ([int count = 1 ]);
508508
509- /// Expands the range to include the next occurence of [target] .
509+ /// Expands the range to include the next occurrence of [target] .
510510 ///
511511 /// If there is an occurrence of [target] in the characters following
512512 /// the current range, the end of the the range is moved to just after
@@ -554,7 +554,7 @@ abstract class CharacterRange implements Iterator<String> {
554554 /// the current range, and `false` if not.
555555 bool expandBack ([int count = 1 ]);
556556
557- /// Expands the range to include the previous occurence of [target] .
557+ /// Expands the range to include the previous occurrence of [target] .
558558 ///
559559 /// If there is an occurrence of [target] in the characters preceding
560560 /// the current range, the stat of the the range is moved to just before
@@ -579,7 +579,7 @@ abstract class CharacterRange implements Iterator<String> {
579579 /// Returns `true` if there is an occurrence of [target] and `false` if not.
580580 bool expandBackUntil (Characters target);
581581
582- /// Expands the range with the preceding characters satisffying [test] .
582+ /// Expands the range with the preceding characters satisfying [test] .
583583 ///
584584 /// Iterates back through the characters preceding the current range
585585 /// and includes them into the range until finding a character that
@@ -661,7 +661,7 @@ abstract class CharacterRange implements Iterator<String> {
661661 /// first occurrence of [target] .
662662 ///
663663 /// 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,
665665 /// which gives the same effect as [collapseToEnd] .
666666 ///
667667 /// Returns `true` if there is an occurrence of [target] and `false` if not.
@@ -713,7 +713,7 @@ abstract class CharacterRange implements Iterator<String> {
713713 /// last occurrence of [target] .
714714 ///
715715 /// 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,
717717 /// which gives the same effect as [collapseToStart] .
718718 ///
719719 /// Returns `true` if there is an occurrence of [target] and `false` if not.
0 commit comments