aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2014-02-20 00:25:26 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-20 00:25:26 -0800
commitf0ed3799c50e85aa7de7662269736de860f35c5a (patch)
treeb673ac9d18de7f4e4c80693f4c0e1187e76e8658 /java/src/com
parent4aa83faea0a748d227be2c10bfadeac09d0a6e88 (diff)
parent475f9f35b61f9dfe8a15cf274a60e8fd073d9df9 (diff)
downloadlatinime-f0ed3799c50e85aa7de7662269736de860f35c5a.tar.gz
latinime-f0ed3799c50e85aa7de7662269736de860f35c5a.tar.xz
latinime-f0ed3799c50e85aa7de7662269736de860f35c5a.zip
am 475f9f35: Merge "Comments improvements"
* commit '475f9f35b61f9dfe8a15cf274a60e8fd073d9df9': Comments improvements
Diffstat (limited to 'java/src/com')
-rw-r--r--java/src/com/android/inputmethod/latin/RichInputConnection.java4
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.