8191178: [macos] Problem with input of yen symbol
Reviewed-by: dmarkov, mhalder
This commit is contained in:
parent
d92c6042fe
commit
1b25f7242c
@ -537,10 +537,14 @@ static BOOL shouldUsePressAndHold() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
-(BOOL) isCodePointInUnicodeBlockNeedingIMEvent: (unichar) codePoint {
|
-(BOOL) isCodePointInUnicodeBlockNeedingIMEvent: (unichar) codePoint {
|
||||||
if (((codePoint >= 0x3000) && (codePoint <= 0x303F)) ||
|
if ((codePoint == 0x0024) || (codePoint == 0x00A3) ||
|
||||||
|
(codePoint == 0x00A5) ||
|
||||||
|
((codePoint >= 0x20A3) && (codePoint <= 0x20BF)) ||
|
||||||
|
((codePoint >= 0x3000) && (codePoint <= 0x303F)) ||
|
||||||
((codePoint >= 0xFF00) && (codePoint <= 0xFFEF))) {
|
((codePoint >= 0xFF00) && (codePoint <= 0xFFEF))) {
|
||||||
// Code point is in 'CJK Symbols and Punctuation' or
|
// Code point is in 'CJK Symbols and Punctuation' or
|
||||||
// 'Halfwidth and Fullwidth Forms' Unicode block.
|
// 'Halfwidth and Fullwidth Forms' Unicode block or
|
||||||
|
// currency symbols unicode
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
return NO;
|
return NO;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user