From 39d23bddef15cd3f5fd2f336afe193c912d32ac3 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Tue, 24 Jan 2012 17:29:45 -0800 Subject: Update Javadoc for InputConnection.deleteSurroundingText() - give more precision about how the text is considered Change-Id: Ie2f09bb3338e7dc0e98da0595d1500a6352d09d3 --- core/java/android/view/inputmethod/InputConnection.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/android/view/inputmethod/InputConnection.java b/core/java/android/view/inputmethod/InputConnection.java index bc2a270dcd7d..3563d4d31eef 100644 --- a/core/java/android/view/inputmethod/InputConnection.java +++ b/core/java/android/view/inputmethod/InputConnection.java @@ -140,7 +140,8 @@ public interface InputConnection { /** * Delete beforeLength characters of text before the current cursor * position, and delete afterLength characters of text after the - * current cursor position, excluding composing text. + * current cursor position, excluding composing text. Before and after refer + * to the order of the characters in the string, not to their visual representation. * * * @param beforeLength The number of characters to be deleted before the -- cgit v1.2.3-59-g8ed1b