Commit 0c8061ff authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Merge branch '5.3'

parents 4f2fc9e3 a16a68cd
......@@ -26,6 +26,7 @@ Boston, MA 02110-1301, USA.
#include <QRegExp>
#include <QStringList>
#include <QUrl>
#include <QPointer>
#include <KActionCollection>
#include <KIO/StoredTransferJob>
......
......@@ -199,6 +199,10 @@ bool ClangCodeCompletionModel::shouldStartCompletion(KTextEditor::View* view, co
if (userInsertion && lastChar == QLatin1Char('-') && includePathCompletionRequired(view->document()->line(position.line()))) {
return true;
}
if (userInsertion && inserted.endsWith(QStringLiteral("::"))) {
return true;
}
return KDevelop::CodeCompletionModel::shouldStartCompletion(view, inserted, userInsertion, position);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment