Skip to content

Commit

Permalink
Fix isGraphemeClusterBoundary.
Browse files Browse the repository at this point in the history
  • Loading branch information
lrhn committed Nov 8, 2024
1 parent 775c7aa commit 32468bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/characters/lib/src/grapheme_clusters/breaks.dart
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ bool isGraphemeClusterBoundary(String text, int start, int end, int index) {
var next = nextBreak(text, start, end, index);
return next == index;
}
return false;
return true;
}

/// The most recent break no later than [index] in
Expand Down

0 comments on commit 32468bf

Please sign in to comment.