MCPcopy Create free account
hub / github.com/Overload-Technologies/Overload / SelectAll

Method SelectAll

Dependencies/ImGui/src/imgui_widgets.cpp:4211–4211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4209int ImGuiInputTextState::GetSelectionStart() const { return Stb->select_start; }
4210int ImGuiInputTextState::GetSelectionEnd() const { return Stb->select_end; }
4211void ImGuiInputTextState::SelectAll() { Stb->select_start = 0; Stb->cursor = Stb->select_end = TextLen; Stb->has_preferred_x = 0; }
4212void ImGuiInputTextState::ReloadUserBufAndSelectAll() { WantReloadUserBuf = true; ReloadSelectionStart = 0; ReloadSelectionEnd = INT_MAX; }
4213void ImGuiInputTextState::ReloadUserBufAndKeepSelection() { WantReloadUserBuf = true; ReloadSelectionStart = Stb->select_start; ReloadSelectionEnd = Stb->select_end; }
4214void ImGuiInputTextState::ReloadUserBufAndMoveToEnd() { WantReloadUserBuf = true; ReloadSelectionStart = ReloadSelectionEnd = INT_MAX; }

Callers 2

InputTextExMethod · 0.45
MyCallbackMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected