| 754 | } |
| 755 | |
| 756 | bool UiController::toolViewPresent(Sublime::ToolDocument* doc, Sublime::Area* area) |
| 757 | { |
| 758 | for (Sublime::View *view : doc->views()) { |
| 759 | if( area->toolViews().contains( view ) ) |
| 760 | return true; |
| 761 | } |
| 762 | return false; |
| 763 | } |
| 764 | |
| 765 | void UiController::addToolViewIfWanted(IToolViewFactory* factory, |
| 766 | Sublime::ToolDocument* doc, |
no test coverage detected