diff options
author | 2014-02-20 08:22:39 +0000 | |
---|---|---|
committer | 2014-02-20 08:22:39 +0000 | |
commit | 475f9f35b61f9dfe8a15cf274a60e8fd073d9df9 (patch) | |
tree | ed2a7928550b7a58f46dbfe0f29e10ab29361758 /java/src | |
parent | 1672ccbbb6167f434842093feaadc2bcd5634eab (diff) | |
parent | be8ad77ebb5d78db18a2ca1992e5e73d2b5e158a (diff) | |
download | latinime-475f9f35b61f9dfe8a15cf274a60e8fd073d9df9.tar.gz latinime-475f9f35b61f9dfe8a15cf274a60e8fd073d9df9.tar.xz latinime-475f9f35b61f9dfe8a15cf274a60e8fd073d9df9.zip |
Merge "Comments improvements"
Diffstat (limited to 'java/src')
-rw-r--r-- | java/src/com/android/inputmethod/latin/RichInputConnection.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/src/com/android/inputmethod/latin/RichInputConnection.java b/java/src/com/android/inputmethod/latin/RichInputConnection.java index ebad9bc0d..cc2db4c93 100644 --- a/java/src/com/android/inputmethod/latin/RichInputConnection.java +++ b/java/src/com/android/inputmethod/latin/RichInputConnection.java @@ -810,11 +810,11 @@ public final class RichInputConnection { if (mExpectedSelStart == newSelStart && mExpectedSelEnd == newSelEnd) return true; // This update is not belated if mExpectedSelStart and mExpectedSelEnd match the old // values, and one of newSelStart or newSelEnd is updated to a different value. In this - // case, there is likely something other than the IME has moved the selection endpoint + // case, it is likely that something other than the IME has moved the selection endpoint // to the new value. if (mExpectedSelStart == oldSelStart && mExpectedSelEnd == oldSelEnd && (oldSelStart != newSelStart || oldSelEnd != newSelEnd)) return false; - // If nether of the above two cases holds, then the system may be having trouble keeping up + // If neither of the above two cases hold, then the system may be having trouble keeping up // with updates. If 1) the selection is a cursor, 2) newSelStart is between oldSelStart // and mExpectedSelStart, and 3) newSelEnd is between oldSelEnd and mExpectedSelEnd, then // assume a belated update. |