forked from qt-creator/qt-creator
Editor: pass AssistInterface to createProcessor
The interface can be used for checking the context of a codeassist request to determine the correct processor that has to be created. Change-Id: I47ddb05c46399566e27bae21711f11a3a4132c3f Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -157,7 +157,8 @@ FunctionHintAssistProvider::FunctionHintAssistProvider(Client *client)
|
||||
, m_client(client)
|
||||
{}
|
||||
|
||||
TextEditor::IAssistProcessor *FunctionHintAssistProvider::createProcessor() const
|
||||
TextEditor::IAssistProcessor *FunctionHintAssistProvider::createProcessor(
|
||||
const AssistInterface *) const
|
||||
{
|
||||
return new FunctionHintProcessor(m_client, m_proposalHandler);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user