Add Bidi-Mirrored letter list link as comment

Bug: 5047217
Change-Id: I29449892803c5150726aebfe97ecef6d481e1e97
main
Tadashi G. Takaoka 2011-07-25 11:39:27 -07:00
parent 7139335dcd
commit 34ce778802
1 changed files with 2 additions and 0 deletions

View File

@ -159,6 +159,8 @@ public class Key {
private static final Map<Integer, Integer> sRtlParenthesisMap = new HashMap<Integer, Integer>(); private static final Map<Integer, Integer> sRtlParenthesisMap = new HashMap<Integer, Integer>();
static { static {
// The all letters need to be mirrored are found at
// http://www.unicode.org/Public/6.0.0/ucd/extracted/DerivedBinaryProperties.txt
addRtlParenthesisPair('(', ')'); addRtlParenthesisPair('(', ')');
addRtlParenthesisPair('[', ']'); addRtlParenthesisPair('[', ']');
addRtlParenthesisPair('{', '}'); addRtlParenthesisPair('{', '}');