| 1460 | } |
| 1461 | |
| 1462 | std::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 | |
| 1472 | bool TextDocument::isRunningTransaction() const { |
| 1473 | return mRunningTransaction; |
no test coverage detected