aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin/RichInputConnection.java
diff options
context:
space:
mode:
authorJean Chalard <jchalard@google.com>2013-04-15 11:29:27 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-04-15 11:29:28 +0000
commit033958330dbfed19ea15379ff5d9a0a52aa375ff (patch)
tree2124ab90f70259c94fc2a019ede6148adc24c942 /java/src/com/android/inputmethod/latin/RichInputConnection.java
parente99daea0835d170f40fe79c8b9848732c4e56a34 (diff)
parent2995abe7aadd483aa57a9b088740d46ac07bbe46 (diff)
downloadlatinime-033958330dbfed19ea15379ff5d9a0a52aa375ff.tar.gz
latinime-033958330dbfed19ea15379ff5d9a0a52aa375ff.tar.xz
latinime-033958330dbfed19ea15379ff5d9a0a52aa375ff.zip
Merge "Have Latin IME re-capitalize a selected string"
Diffstat (limited to 'java/src/com/android/inputmethod/latin/RichInputConnection.java')
-rw-r--r--java/src/com/android/inputmethod/latin/RichInputConnection.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/RichInputConnection.java b/java/src/com/android/inputmethod/latin/RichInputConnection.java
index b74ea593d..e17846618 100644
--- a/java/src/com/android/inputmethod/latin/RichInputConnection.java
+++ b/java/src/com/android/inputmethod/latin/RichInputConnection.java
@@ -183,6 +183,11 @@ public final class RichInputConnection {
}
}
+ public CharSequence getSelectedText(final int flags) {
+ if (null == mIC) return null;
+ return mIC.getSelectedText(flags);
+ }
+
/**
* Gets the caps modes we should be in after this specific string.
*