forked from qt-creator/qt-creator
LanguageClient: create TextMarks only for active clients
Fixes that marks from all running clients are shown after splitting the editor. Change-Id: Ia76a084e5b133d5f7205ac79f9584b211d73b501 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -222,7 +222,7 @@ private:
|
||||
QHash<LanguageServerProtocol::DocumentUri, LanguageServerProtocol::MessageId> m_highlightRequests;
|
||||
int m_restartsLeft = 5;
|
||||
QScopedPointer<BaseClientInterface> m_clientInterface;
|
||||
QMap<LanguageServerProtocol::DocumentUri, QList<TextMark *>> m_diagnostics;
|
||||
QMap<LanguageServerProtocol::DocumentUri, QList<LanguageServerProtocol::Diagnostic>> m_diagnostics;
|
||||
DocumentSymbolCache m_documentSymbolCache;
|
||||
HoverHandler m_hoverHandler;
|
||||
QHash<LanguageServerProtocol::DocumentUri, TextEditor::HighlightingResults> m_highlights;
|
||||
|
||||
Reference in New Issue
Block a user