forked from qt-creator/qt-creator
LanguageClient: have one active client per open document
open a document in all clients supporting the document, but have just one client that provide functionality like highlights, completions, and find usages. Change-Id: I6bd72eb022005ed643fefd1da139d482f4dd5279 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -95,8 +95,10 @@ public:
|
||||
bool reachable() const { return m_state == Initialized; }
|
||||
|
||||
// document synchronization
|
||||
bool openDocument(TextEditor::TextDocument *document);
|
||||
void openDocument(TextEditor::TextDocument *document);
|
||||
void closeDocument(TextEditor::TextDocument *document);
|
||||
void activateDocument(TextEditor::TextDocument *document);
|
||||
void deactivateDocument(TextEditor::TextDocument *document);
|
||||
bool documentOpen(TextEditor::TextDocument *document) const;
|
||||
void documentContentsSaved(TextEditor::TextDocument *document);
|
||||
void documentWillSave(Core::IDocument *document);
|
||||
|
||||
Reference in New Issue
Block a user