| 1009 | } |
| 1010 | |
| 1011 | std::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 | |
| 1025 | void ZepEditor::SetCommandText(const std::string& strCommand) |
| 1026 | { |