diff options
author | 2012-11-06 13:52:52 +0900 | |
---|---|---|
committer | 2012-11-06 13:52:52 +0900 | |
commit | 6962a566f43875317cdac1e8ecdf10013c598a2d (patch) | |
tree | 71d9b18647f1730e98a4c13b75a751fe2ddcf1f3 | |
parent | 9c739939a31232f2e22e96aa30e2814da9c7725c (diff) | |
download | latinime-6962a566f43875317cdac1e8ecdf10013c598a2d.tar.gz latinime-6962a566f43875317cdac1e8ecdf10013c598a2d.tar.xz latinime-6962a566f43875317cdac1e8ecdf10013c598a2d.zip |
Resolve merge conflict
Change-Id: I96c87f7a4e4d34357d3d4c772eb3782c171bb4c0
-rw-r--r-- | java/src/com/android/inputmethod/latin/RichInputConnection.java | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/java/src/com/android/inputmethod/latin/RichInputConnection.java b/java/src/com/android/inputmethod/latin/RichInputConnection.java index 53aabd9e8..d1c96d42a 100644 --- a/java/src/com/android/inputmethod/latin/RichInputConnection.java +++ b/java/src/com/android/inputmethod/latin/RichInputConnection.java @@ -163,11 +163,7 @@ public final class RichInputConnection { } public void finishComposingText() { -<<<<<<< HEAD - checkBatchEdit(); -======= if (DEBUG_BATCH_NESTING) checkBatchEdit(); ->>>>>>> goog/master if (DEBUG_PREVIOUS_TEXT) checkConsistencyForDebug(); mCommittedTextBeforeComposingText.append(mComposingText); mCurrentCursorPosition += mComposingText.length(); @@ -181,11 +177,7 @@ public final class RichInputConnection { } public void commitText(final CharSequence text, final int i) { -<<<<<<< HEAD - checkBatchEdit(); -======= if (DEBUG_BATCH_NESTING) checkBatchEdit(); ->>>>>>> goog/master if (DEBUG_PREVIOUS_TEXT) checkConsistencyForDebug(); mCommittedTextBeforeComposingText.append(text); mCurrentCursorPosition += text.length() - mComposingText.length(); @@ -262,11 +254,7 @@ public final class RichInputConnection { } public void deleteSurroundingText(final int i, final int j) { -<<<<<<< HEAD - checkBatchEdit(); -======= if (DEBUG_BATCH_NESTING) checkBatchEdit(); ->>>>>>> goog/master final int remainingChars = mComposingText.length() - i; if (remainingChars >= 0) { mComposingText.setLength(remainingChars); @@ -302,11 +290,7 @@ public final class RichInputConnection { } public void sendKeyEvent(final KeyEvent keyEvent) { -<<<<<<< HEAD - checkBatchEdit(); -======= if (DEBUG_BATCH_NESTING) checkBatchEdit(); ->>>>>>> goog/master if (keyEvent.getAction() == KeyEvent.ACTION_DOWN) { if (DEBUG_PREVIOUS_TEXT) checkConsistencyForDebug(); // This method is only called for enter or backspace when speaking to old @@ -354,11 +338,7 @@ public final class RichInputConnection { } public void setComposingText(final CharSequence text, final int i) { -<<<<<<< HEAD - checkBatchEdit(); -======= if (DEBUG_BATCH_NESTING) checkBatchEdit(); ->>>>>>> goog/master if (DEBUG_PREVIOUS_TEXT) checkConsistencyForDebug(); mCurrentCursorPosition += text.length() - mComposingText.length(); mComposingText.setLength(0); @@ -374,11 +354,7 @@ public final class RichInputConnection { } public void setSelection(final int from, final int to) { -<<<<<<< HEAD - checkBatchEdit(); -======= if (DEBUG_BATCH_NESTING) checkBatchEdit(); ->>>>>>> goog/master if (DEBUG_PREVIOUS_TEXT) checkConsistencyForDebug(); if (null != mIC) { mIC.setSelection(from, to); @@ -392,11 +368,7 @@ public final class RichInputConnection { } public void commitCorrection(final CorrectionInfo correctionInfo) { -<<<<<<< HEAD - checkBatchEdit(); -======= if (DEBUG_BATCH_NESTING) checkBatchEdit(); ->>>>>>> goog/master if (DEBUG_PREVIOUS_TEXT) checkConsistencyForDebug(); // This has no effect on the text field and does not change its content. It only makes // TextView flash the text for a second based on indices contained in the argument. @@ -410,11 +382,7 @@ public final class RichInputConnection { } public void commitCompletion(final CompletionInfo completionInfo) { -<<<<<<< HEAD - checkBatchEdit(); -======= if (DEBUG_BATCH_NESTING) checkBatchEdit(); ->>>>>>> goog/master if (DEBUG_PREVIOUS_TEXT) checkConsistencyForDebug(); final CharSequence text = completionInfo.getText(); mCommittedTextBeforeComposingText.append(text); |