| 171 | } |
| 172 | |
| 173 | void OnRepeatLastAnalyzer(const CommandContext& context) |
| 174 | { |
| 175 | auto& commandManager = CommandManager::Get(context.project); |
| 176 | switch (commandManager.mLastAnalyzerRegistration) { |
| 177 | case CommandManager::repeattypeplugin: |
| 178 | { |
| 179 | auto lastEffect = commandManager.mLastAnalyzer; |
| 180 | if (!lastEffect.empty()) |
| 181 | EffectUI::DoEffect( |
| 182 | lastEffect, context.project, commandManager.mRepeatAnalyzerFlags); |
| 183 | } |
| 184 | break; |
| 185 | case CommandManager::repeattypeunique: |
| 186 | CommandManager::Get(context.project).DoRepeatProcess(context, |
| 187 | commandManager.mLastAnalyzerRegisteredId); |
| 188 | break; |
| 189 | } |
| 190 | } |
| 191 | |
| 192 | void OnManageAnalyzers(const CommandContext &context) |
| 193 | { |
nothing calls this directly
no test coverage detected