Bug 202251 - Add an option to ignore diacritics when searching. r=fluent-reviewers,mikedeboer,jfkthame,flod
Differential Revision: https://phabricator.services.mozilla.com/D51841
This commit is contained in:
@@ -229,6 +229,9 @@ class ClusterIterator {
|
||||
// Count the number of grapheme clusters in the given string
|
||||
uint32_t CountGraphemeClusters(const char16_t* aText, uint32_t aLength);
|
||||
|
||||
// Remove diacritics from a character
|
||||
uint32_t GetNaked(uint32_t aCh);
|
||||
|
||||
// A simple reverse iterator for a string of char16_t codepoints that
|
||||
// advances by Unicode grapheme clusters
|
||||
class ClusterReverseIterator {
|
||||
|
||||
Reference in New Issue
Block a user