Lines Matching refs:text_end
107 static ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, …
127 void ImGui::TextUnformatted(const char* text, const char* text_end) in TextUnformatted() argument
136 if (text_end == NULL) in TextUnformatted()
137 text_end = text + strlen(text); // FIXME-OPT in TextUnformatted()
142 if (text_end - text > 2000 && !wrap_enabled) in TextUnformatted()
165 while (line < text_end && lines_skipped < lines_skippable) in TextUnformatted()
167 const char* line_end = (const char*)memchr(line, '\n', text_end - line); in TextUnformatted()
169 line_end = text_end; in TextUnformatted()
178 if (line < text_end) in TextUnformatted()
181 while (line < text_end) in TextUnformatted()
186 const char* line_end = (const char*)memchr(line, '\n', text_end - line); in TextUnformatted()
188 line_end = text_end; in TextUnformatted()
200 while (line < text_end) in TextUnformatted()
202 const char* line_end = (const char*)memchr(line, '\n', text_end - line); in TextUnformatted()
204 line_end = text_end; in TextUnformatted()
221 const ImVec2 text_size = CalcTextSize(text_begin, text_end, false, wrap_width); in TextUnformatted()
230 RenderTextWrapped(bb.Min, text_begin, text_end, wrap_width); in TextUnformatted()
249 …const char* text_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fm… in TextV() local
250 TextUnformatted(g.TempBuffer, text_end); in TextV()
354 …const char* text_end = text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt,… in BulletTextV() local
355 const ImVec2 label_size = CalcTextSize(text_begin, text_end, false); in BulletTextV()
365 ….Min+ImVec2(g.FontSize + style.FramePadding.x*2, text_base_offset_y), text_begin, text_end, false); in BulletTextV()
2852 static ImVec2 InputTextCalcTextSizeW(const ImWchar* text_begin, const ImWchar* text_end, const ImWc… in InputTextCalcTextSizeW() argument
2863 while (s < text_end) in InputTextCalcTextSizeW()
4508 const char* text_end = text ? FindRenderedTextEnd(text, NULL) : text; in ColorTooltip() local
4509 if (text_end > text) in ColorTooltip()
4511 TextUnformatted(text, text_end); in ColorTooltip()