Home | History | Annotate | Download | only in textfield

Lines Matching refs:text_index

1394   size_t text_index = composition_range.start() + index;
1395 if (composition_range.end() <= text_index)
1397 if (!render_text->IsValidCursorIndex(text_index)) {
1398 text_index = render_text->IndexOfAdjacentGrapheme(
1399 text_index, gfx::CURSOR_BACKWARD);
1401 if (text_index < composition_range.start())
1403 const gfx::SelectionModel caret(text_index, gfx::CURSOR_BACKWARD);