diff --git a/pkgs/characters/lib/src/grapheme_clusters/breaks.dart b/pkgs/characters/lib/src/grapheme_clusters/breaks.dart index 99adf215..4bb711e2 100644 --- a/pkgs/characters/lib/src/grapheme_clusters/breaks.dart +++ b/pkgs/characters/lib/src/grapheme_clusters/breaks.dart @@ -578,7 +578,7 @@ int nextBreak(String text, int start, int end, int index) { /// or backwards from known breaks. /// /// That character is always one of [categoryOtherIndicConsonant], -/// [categoryPictorgraphic] or [categoryRegionalIndicator], the only +/// [categoryPictographic] or [categoryRegionalIndicator], the only /// characters where knowing whether to break before them depends on /// more than the single prior character. bool _lookaheadSimple(String text, int start, int cursor, int backState) { diff --git a/pkgs/characters/lib/src/grapheme_clusters/constants.dart b/pkgs/characters/lib/src/grapheme_clusters/constants.dart index 492a32bb..d13bca38 100644 --- a/pkgs/characters/lib/src/grapheme_clusters/constants.dart +++ b/pkgs/characters/lib/src/grapheme_clusters/constants.dart @@ -194,7 +194,7 @@ const stateCExt = idStateCExt * scaleState; const StateId idStateCExZ = 0x17 as StateId; const stateCExZ = idStateCExZ * scaleState; -/// Seen [RegionalIndicator] only. +/// Seen single RegionalIndicator only. const StateId idStateCReg = 0x18 as StateId; const stateCReg = idStateCReg * scaleState;