Lines Matching refs:TextW
2902 …T_GETCHAR(const STB_TEXTEDIT_STRING* obj, int idx) { return obj->TextW[idx]; } in STB_TEXTEDIT_GETCHAR()
2903 …XTEDIT_STRING* obj, int line_start_idx, int char_idx) { ImWchar c = obj->TextW[line_start_idx+cha… in STB_TEXTEDIT_GETWIDTH()
2908 const ImWchar* text = obj->TextW.Data; in STB_TEXTEDIT_LAYOUTROW()
2920 …, int idx) { return idx > 0 ? (is_separator( obj->TextW[idx-1] ) && !is_separator( obj->TextW… in is_word_boundary_from_right()
2923 …int idx) { return idx > 0 ? (!is_separator( obj->TextW[idx-1] ) && is_separator( obj->TextW[… in is_word_boundary_from_left()
2933 ImWchar* dst = obj->TextW.Data + pos; in STB_TEXTEDIT_DELETECHARS()
2940 const ImWchar* src = obj->TextW.Data + pos + n; in STB_TEXTEDIT_DELETECHARS()
2957 if (new_text_len + text_len + 1 > obj->TextW.Size) in STB_TEXTEDIT_INSERTCHARS()
2961 IM_ASSERT(text_len < obj->TextW.Size); in STB_TEXTEDIT_INSERTCHARS()
2962 obj->TextW.resize(text_len + ImClamp(new_text_len * 4, 32, ImMax(256, new_text_len)) + 1); in STB_TEXTEDIT_INSERTCHARS()
2965 ImWchar* text = obj->TextW.Data; in STB_TEXTEDIT_INSERTCHARS()
2972 obj->TextW[obj->CurLenW] = '\0'; in STB_TEXTEDIT_INSERTCHARS()
3227 …edit_state.TextW.resize(buf_size+1); // wchar count <= UTF-8 count. we use +1 to make … in InputTextEx()
3231 … edit_state.CurLenW = ImTextStrFromUtf8(edit_state.TextW.Data, buf_size, buf, NULL, &buf_end); in InputTextEx()
3279 edit_state.TextW.resize(buf_size+1); in InputTextEx()
3281 …edit_state.CurLenW = ImTextStrFromUtf8(edit_state.TextW.Data, edit_state.TextW.Size, buf, NULL, &b… in InputTextEx()
3426 …tate.TempBuffer.Data, edit_state.TempBuffer.Size, edit_state.TextW.Data+ib, edit_state.TextW.Data+… in InputTextEx()
3491 edit_state.TempBuffer.resize(edit_state.TextW.Size * 4 + 1); in InputTextEx()
3492 …TextStrToUtf8(edit_state.TempBuffer.Data, edit_state.TempBuffer.Size, edit_state.TextW.Data, NULL); in InputTextEx()
3536 ImWchar* text = edit_state.TextW.Data; in InputTextEx()
3555 …edit_state.TextW.resize(edit_state.TextW.Size + (callback_data.BufTextLen - backup_current_text_le… in InputTextEx()
3556 …edit_state.CurLenW = ImTextStrFromUtf8(edit_state.TextW.Data, edit_state.TextW.Size, callback_data… in InputTextEx()
3635 const ImWchar* text_begin = edit_state.TextW.Data; in InputTextEx()