MCPcopy Create free account
hub / github.com/TKazer/CS2_External / stb_textedit_replace

Function stb_textedit_replace

CS2_External/OS-ImGui/imgui/imgui_widgets.cpp:3825–3839  ·  view source on GitHub ↗

stb_textedit internally allows for a single undo record to do addition and deletion, but somehow, calling the stb_textedit_paste() function creates two separate records, so we perform it manually. (FIXME: Report to nothings/stb?)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

InputTextExMethod · 0.85

Calls 3

STB_TEXTEDIT_DELETECHARSFunction · 0.85
STB_TEXTEDIT_INSERTCHARSFunction · 0.85

Tested by

no test coverage detected