Changeset View
Changeset View
Standalone View
Standalone View
codecompletion/worker.cpp
Show All 27 Lines | |||||
28 | 28 | | |||
29 | } | 29 | } | ||
30 | 30 | | |||
31 | KDevelop::CodeCompletionContext* CodeCompletionWorker::createCompletionContext(const KDevelop::DUContextPointer& context, | 31 | KDevelop::CodeCompletionContext* CodeCompletionWorker::createCompletionContext(const KDevelop::DUContextPointer& context, | ||
32 | const QString& contextText, | 32 | const QString& contextText, | ||
33 | const QString& followingText, | 33 | const QString& followingText, | ||
34 | const KDevelop::CursorInRevision& position) const | 34 | const KDevelop::CursorInRevision& position) const | ||
35 | { | 35 | { | ||
36 | Q_UNUSED(followingText); | ||||
36 | qCDebug(COMPLETION) << "Completion test"; | 37 | qCDebug(COMPLETION) << "Completion test"; | ||
37 | //return go::CodeCompletionWorker::createCompletionContext(context, contextText, followingText, position); | 38 | //return go::CodeCompletionWorker::createCompletionContext(context, contextText, followingText, position); | ||
38 | return new go::CodeCompletionContext(context, contextText, position); | 39 | return new go::CodeCompletionContext(context, contextText, position); | ||
39 | } | 40 | } | ||
40 | 41 | | |||
41 | 42 | | |||
42 | } | 43 | } |