MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / SetCommandText

Method SetCommandText

external/zep/src/editor.cpp:894–900  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

892 }
893
894 void ZepEditor::SetCommandText(const std::string& strCommand) {
895 m_commandLines = string_split(strCommand, "\n\r");
896 if (m_commandLines.empty()) {
897 m_commandLines.push_back("");
898 }
899 m_bRegionsChanged = true;
900 }
901
902 void ZepEditor::RequestRefresh() {
903 m_bPendingRefresh = true;

Callers 9

BeginMethod · 0.80
NotifyMethod · 0.80
AddKeyPressMethod · 0.80
BeginMethod · 0.80
NotifyMethod · 0.80
SwitchModeMethod · 0.80
HandleMappedInputMethod · 0.80
GetCommandMethod · 0.80
HandleExCommandMethod · 0.80

Calls 3

string_splitFunction · 0.85
emptyMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected