In commit 3a64f8a the condition for displaying a replacement proposal
was strengthened by making it only depend on the current proposal
m_proposal. Since FuntionHintProposals were fragile, the automatic
proposal timer was restarted in notifyChange() and as consequence the
proposal was reset.
Fixed by declaring that FunctionHintProposal are not fragile.
Task-number: QTCREATORBUG-10283
Change-Id: I60828d733b781279be51228bd10d49f828aebe2b
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This is a re-work of our completion engine. Primary goals are:
- Allow the computation to run in a separate thread so the GUI is not locked.
- Support a model-based approach. QStrings are still needed (filtering, etc), but
internal structures are free to use more efficient representations.
- Unifiy all kinds of *assist* into a more reusable and extensible framework.
- Remove unnecessary dependencies on the text editor so we have more generic
and easily "plugable" components (still things to be resolved).