diff options
author | 2012-10-23 11:30:39 +0900 | |
---|---|---|
committer | 2012-10-23 12:28:28 +0900 | |
commit | f960eb186d63aa4f9fecd22f036fc8724d39d949 (patch) | |
tree | 412a863e55fe551fa22aeee8ac6696f86aa05b88 /java/src/com/android/inputmethod/latin/SettingsValues.java | |
parent | 65225d8211ee4f551c0996cf58552c721e45c39c (diff) | |
download | latinime-f960eb186d63aa4f9fecd22f036fc8724d39d949.tar.gz latinime-f960eb186d63aa4f9fecd22f036fc8724d39d949.tar.xz latinime-f960eb186d63aa4f9fecd22f036fc8724d39d949.zip |
Don't put spaces after characters that don't take one
Bug: 7393639
Change-Id: I1245a7b5077e554642838d6856ce269ca7f91988
Diffstat (limited to 'java/src/com/android/inputmethod/latin/SettingsValues.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/SettingsValues.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/SettingsValues.java b/java/src/com/android/inputmethod/latin/SettingsValues.java index 1c5864bce..2a778aa0d 100644 --- a/java/src/com/android/inputmethod/latin/SettingsValues.java +++ b/java/src/com/android/inputmethod/latin/SettingsValues.java @@ -254,11 +254,13 @@ public final class SettingsValues { return mSymbolsExcludedFromWordSeparators.contains(String.valueOf((char)code)); } + // TODO: use "Phantom" instead of "Weak" in this method name public boolean isWeakSpaceStripper(final int code) { // TODO: this does not work if the code does not fit in a char return mWeakSpaceStrippers.contains(String.valueOf((char)code)); } + // TODO: use "Phantom" instead of "Weak" in this method name public boolean isWeakSpaceSwapper(final int code) { // TODO: this does not work if the code does not fit in a char return mWeakSpaceSwappers.contains(String.valueOf((char)code)); |