MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getCommandList

Method getCommandList

src/eepp/ui/doc/textdocument.cpp:1462–1470  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1460}
1461
1462std::vector<std::string> TextDocument::getCommandList() const {
1463 std::vector<std::string> cmds;
1464 cmds.reserve( mCommands.size() + mRefCommands.size() );
1465 for ( const auto& cmd : mRefCommands )
1466 cmds.push_back( cmd.first );
1467 for ( const auto& cmd : mCommands )
1468 cmds.push_back( cmd.first );
1469 return cmds;
1470}
1471
1472bool TextDocument::isRunningTransaction() const {
1473 return mRunningTransaction;

Callers 1

Calls 3

reserveMethod · 0.80
push_backMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected