Lines Matching refs:IsValidCursorIndex
539 if (!IsValidCursorIndex(cursor.caret_pos()))
555 if (!IsValidCursorIndex(range.start()) || !IsValidCursorIndex(range.end()))
660 const size_t start = IsValidCursorIndex(range.start()) ? range.start() :
662 const size_t end = IsValidCursorIndex(range.end()) ? range.end() :
827 if (IsValidCursorIndex(index))
835 if (IsValidCursorIndex(index))
1145 if (IsValidCursorIndex(cursor))
1292 !render_text->IsValidCursorIndex(range.end())) {