• Nikolai Kosjar's avatar
    C++: Fix completion for doxygen tags II · da5309cb
    Nikolai Kosjar authored
    For assist processors that run in a worker thread, the QTextDocument is
    recreated with AssistInterface::prepareForAsyncUse and
    Since some assist processors (C++, QmlJS) rely on the user states of the
    QTextBlocks, these must be recreated, too.
    In the referenced bug report the lexer state (user state) of the
    previous QTextBlock was invalid and thus the "Doxygen tag completion"
    Task-number: QTCREATORBUG-9373
    Change-Id: If668e98aa6f9fe9fc107c7476fc831e92a0d7572
    Reviewed-by: default avatarDavid Schulz <david.schulz@theqtcompany.com>
cppcompletion_test.cpp 97.2 KB