diff options
author | 2011-03-03 02:58:06 -0800 | |
---|---|---|
committer | 2011-03-03 02:58:06 -0800 | |
commit | dca305dd71f21d5c7a5ccac64ed87560313c2575 (patch) | |
tree | 4142269f6ff95905e7f011d15dff6e2f53ddce0b /java/src/com/android/inputmethod/latin/LatinIME.java | |
parent | 4503e2ea9853c1573f60903d8639d82e39e07c56 (diff) | |
parent | 9f67e12a0e3f77985fb8bafe0db4c00e32317b9a (diff) | |
download | latinime-dca305dd71f21d5c7a5ccac64ed87560313c2575.tar.gz latinime-dca305dd71f21d5c7a5ccac64ed87560313c2575.tar.xz latinime-dca305dd71f21d5c7a5ccac64ed87560313c2575.zip |
Merge "Move the auto correction functionalities to AutoCorrection.java"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinIME.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinIME.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java index feaebb931..646de66c2 100644 --- a/java/src/com/android/inputmethod/latin/LatinIME.java +++ b/java/src/com/android/inputmethod/latin/LatinIME.java @@ -1530,7 +1530,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen } private void showSuggestions(WordComposer word) { - // TODO Maybe need better way of retrieving previous word + // TODO: May need a better way of retrieving previous word CharSequence prevWord = EditingUtils.getPreviousWord(getCurrentInputConnection(), mWordSeparators); SuggestedWords.Builder builder = mSuggest.getSuggestedWordBuilder( @@ -2052,6 +2052,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen } private void updateCorrectionMode() { + // TODO: cleanup messy flags mHasDictionary = mSuggest != null ? mSuggest.hasMainDictionary() : false; mAutoCorrectOn = (mAutoCorrectEnabled || mQuickFixes) && !mInputTypeNoAutoCorrect && mHasDictionary; |