Searched refs:TextW (Results 1 – 3 of 3) sorted by relevance
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()[all …]
564 …ImVector<ImWchar> TextW; // edit buffer, we need to persist but can't guara… member
3606 g.InputTextState.TextW.clear(); in Shutdown()