| 3137 | } |
| 3138 | |
| 3139 | void TextDocument::execute( const std::string& command ) { |
| 3140 | auto cmdIt = mCommands.find( command ); |
| 3141 | if ( cmdIt != mCommands.end() ) |
| 3142 | cmdIt->second(); |
| 3143 | } |
| 3144 | |
| 3145 | void TextDocument::execute( const std::string& command, Client* client ) { |
| 3146 | auto cmdRefIt = mRefCommands.find( command ); |
no test coverage detected