forked from qt-creator/qt-creator
CppEditor: Do not overwrite extra selections from language client
The broken libclang-based implementation used to remove the correct results we got from clangd. Task-number: QTCREATORBUG-26339 Task-number: QTCREATORBUG-26596 Change-Id: I9b7c1214c376b616fe204986ed37c287e2307f81 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -209,6 +209,11 @@ bool ClangModelManagerSupport::supportsOutline(const TextEditor::TextDocument *d
|
||||
return !clientForFile(document->filePath());
|
||||
}
|
||||
|
||||
bool ClangModelManagerSupport::supportsLocalUses(const TextEditor::TextDocument *document) const
|
||||
{
|
||||
return !clientForFile(document->filePath());
|
||||
}
|
||||
|
||||
CppEditor::BaseEditorDocumentProcessor *ClangModelManagerSupport::createEditorDocumentProcessor(
|
||||
TextEditor::TextDocument *baseTextDocument)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user