| 203 | } |
| 204 | |
| 205 | bool ClangCodeCompletionModel::shouldAbortCompletion(KTextEditor::View* view, const KTextEditor::Range& range, const QString& currentCompletion) |
| 206 | { |
| 207 | const auto shouldAbort = KDevelop::CodeCompletionModel::shouldAbortCompletion(view, range, currentCompletion); |
| 208 | if (shouldAbort && includePathCompletionRequired(view->document()->line(range.end().line()))) { |
| 209 | // don't abort include path completion which can contain dashes |
| 210 | return false; |
| 211 | } |
| 212 | return shouldAbort; |
| 213 | } |
| 214 | |
| 215 | CodeCompletionWorker* ClangCodeCompletionModel::createCompletionWorker() |
| 216 | { |
nothing calls this directly
no test coverage detected