From 998ae866be54e70486914705a433ea88750b5c02 Mon Sep 17 00:00:00 2001 From: Jason Naylor Date: Tue, 8 Apr 2025 12:27:57 -0700 Subject: [PATCH] Fix LT-22032: Make valid character dialog more valid * There was a valid class of combining character categories related to extended whitespace not yet handled --- src/SIL.LCModel.Core/Text/UcdProperty.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SIL.LCModel.Core/Text/UcdProperty.cs b/src/SIL.LCModel.Core/Text/UcdProperty.cs index db318daf..74cace1d 100644 --- a/src/SIL.LCModel.Core/Text/UcdProperty.cs +++ b/src/SIL.LCModel.Core/Text/UcdProperty.cs @@ -208,7 +208,7 @@ public override string ToString() #region static accessor functions /// ------------------------------------------------------------------------------------ /// - /// Fills a two-tiered hash table system with all the instances of this class that + /// Fills a two-tiered hash table system with all the categories and classes we expect /// /// ------------------------------------------------------------------------------------ private static void InitializeHashTables() @@ -302,6 +302,8 @@ private static void InitializeHashTables() new UcdProperty("0", UcdCategories.canonicalCombiningClass)); canonicalCombiningClassDict.Add(1, new UcdProperty("1", UcdCategories.canonicalCombiningClass)); + canonicalCombiningClassDict.Add(2, + new UcdProperty("2", UcdCategories.canonicalCombiningClass)); canonicalCombiningClassDict.Add(7, new UcdProperty("7", UcdCategories.canonicalCombiningClass)); canonicalCombiningClassDict.Add(8,