Lines Matching full:text_index
1438 size_t text_index = composition_range.start() + index;
1439 if (composition_range.end() <= text_index)
1441 if (!render_text->IsValidCursorIndex(text_index)) {
1442 text_index = render_text->IndexOfAdjacentGrapheme(
1443 text_index, gfx::CURSOR_BACKWARD);
1445 if (text_index < composition_range.start())
1447 const gfx::SelectionModel caret(text_index, gfx::CURSOR_BACKWARD);