Lines Matching defs:text_end

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