From c01a6d0c3b4e18c0f9d016332035deb21d2e0b0c Mon Sep 17 00:00:00 2001 From: "Lasse R.H. Nielsen" Date: Mon, 11 Nov 2024 19:19:48 +0100 Subject: [PATCH] Analyzer warnings from doc references. --- pkgs/characters/lib/src/grapheme_clusters/breaks.dart | 2 +- pkgs/characters/lib/src/grapheme_clusters/constants.dart | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;