| 848 | } |
| 849 | |
| 850 | bool TabWidget::annotate(const QString &fileName, const QString &title, const QString &contents, int line, int type) |
| 851 | { |
| 852 | if (auto editor = d->findEditor(fileName)) { |
| 853 | editor->addAnnotation(title, contents, line, type); |
| 854 | return true; |
| 855 | } |
| 856 | |
| 857 | return false; |
| 858 | } |
| 859 | |
| 860 | bool TabWidget::clearAnnotation(const QString &fileName, const QString &title) |
| 861 | { |
no test coverage detected