| 615 | } |
| 616 | |
| 617 | static MacroEdit * |
| 618 | getMacroEditFromMacro(const std::vector<MacroEdit *> ¯oEdits, Macro *macro) |
| 619 | { |
| 620 | for (const auto edit : macroEdits) { |
| 621 | if (macro == edit->GetMacro().get()) { |
| 622 | return edit; |
| 623 | } |
| 624 | } |
| 625 | |
| 626 | return nullptr; |
| 627 | } |
| 628 | |
| 629 | void TempVariableSelection::HighlightSelection(const TempVariableRef &var) |
| 630 | { |
no test coverage detected