We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e27ee6 commit b138092Copy full SHA for b138092
1 file changed
src/SIL.LCModel/DomainServices/ITextUtils.cs
@@ -1579,7 +1579,8 @@ public bool IsWordforming(int ich)
1579
isLabel = true;
1580
// The character is wordforming if it is not a label And it is either word forming or
1581
// a number (numbers added for LT-10746)
1582
- return !isLabel && (m_tss.IsCharWordForming(ich, m_wsManager) || Character.IsNumeric(m_tss.CharAt(ich)));
+ return !isLabel && (m_tss.IsCharWordForming(ich, m_wsManager) ||
1583
+ (!char.IsLowSurrogate(m_tss.Text[ich]) && Character.IsNumeric(m_tss.CharAt(ich))));
1584
}
1585
1586
/// <summary>
0 commit comments