MCPcopy Create free account
hub / github.com/ZDoom/Raze / SetString

Method SetString

source/common/console/c_commandbuffer.cpp:316–324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

314}
315
316void FCommandBuffer::SetString(const FString &str)
317{
318 Text.clear();
319 auto strp = (const uint8_t*)str.GetChars();
320 while (auto chr = GetCharFromString(strp)) Text += chr;
321
322 CursorEnd();
323 MakeStartPosGood();
324}
325
326void FCommandBuffer::AddYankBuffer()
327{

Callers 3

C_HandleKeyFunction · 0.45
C_TabCompleteFunction · 0.45
C_TabCompleteListFunction · 0.45

Calls 3

GetCharFromStringFunction · 0.50
clearMethod · 0.45
GetCharsMethod · 0.45

Tested by

no test coverage detected