Home | History | Annotate | Download | only in latin

Lines Matching refs:before

112         /** Characters before selection start */
141 CharSequence before = connection.getTextBeforeCursor(1000, 0);
143 if (before == null || after == null) {
147 // Find first word separator before the cursor
148 int start = before.length();
149 while (start > 0 && !isWhitespace(before.charAt(start - 1), sep)) start--;
156 if (start >= 0 && cursor + end <= after.length() + before.length()) {
157 String word = before.toString().substring(start, before.length())
161 returnRange.charsBefore = before.length() - start;