Searched refs:BufTextLen (Results 1 – 5 of 5) sorted by relevance
30 SkString tmp(data->Buf, data->BufTextLen); in InputTextCallback()
63 SkString tmp(data->Buf, data->BufTextLen); in InputTextCallback()
334 if (data->SelectionStart == 0 && data->SelectionEnd == data->BufTextLen) in Callback()337 data->DeleteChars(0, data->BufTextLen); in Callback()
3016 IM_ASSERT(pos + bytes_count <= BufTextLen); in DeleteChars()3029 BufTextLen -= bytes_count; in DeleteChars()3036 if (new_text_len + BufTextLen >= BufSize) in InsertChars()3046 int new_buf_size = BufTextLen + ImClamp(new_text_len * 4, 32, ImMax(256, new_text_len)) + 1; in InsertChars()3052 if (BufTextLen != pos) in InsertChars()3053 memmove(Buf + pos + new_text_len, Buf + pos, (size_t)(BufTextLen - pos)); in InsertChars()3055 Buf[BufTextLen + new_text_len] = '\0'; in InsertChars()3061 BufTextLen += new_text_len; in InsertChars()3531 callback_data.BufTextLen = edit_state.CurLenA; in InputTextEx()3553 …IM_ASSERT(callback_data.BufTextLen == (int)strlen(callback_data.Buf)); // You need to maintain Buf… in InputTextEx()[all …]
1433 …int BufTextLen; // Text length (in bytes) // Read-write // [Re… member