MCPcopy Create free account
hub / github.com/Rezonality/zep / GetCommandText

Method GetCommandText

src/editor.cpp:1011–1023  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1009}
1010
1011std::string ZepEditor::GetCommandText() const
1012{
1013 std::ostringstream str;
1014 bool start = true;
1015 for (auto& line : m_commandLines)
1016 {
1017 if (!start)
1018 str << "\n";
1019 start = false;
1020 str << line;
1021 }
1022 return str.str();
1023}
1024
1025void ZepEditor::SetCommandText(const std::string& strCommand)
1026{

Callers 1

DisplayMethod · 0.80

Calls 1

strMethod · 0.80

Tested by

no test coverage detected