forked from qt-creator/qt-creator
LanguageClient: fix semantic highlight after a server reset
Change-Id: I3a389ec82032d21e2eb932ae8d0e8d5678575427 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -1683,6 +1683,7 @@ void Client::initializeCallback(const InitializeRequest::Response &initResponse)
|
||||
updateConfiguration(configuration);
|
||||
}
|
||||
|
||||
m_tokenSupport.clearTokens(); // clear cached tokens from a pre reset run
|
||||
for (TextEditor::TextDocument *doc : m_postponedDocuments)
|
||||
openDocument(doc);
|
||||
m_postponedDocuments.clear();
|
||||
|
||||
Reference in New Issue
Block a user