forked from qt-creator/qt-creator
LanguageClient: manually track document version
Using the document revision causes issues for some servers. Task-number: QTCREATORBUG-25766 Change-Id: Ic858e19c6fe39e57c9d3124913887aafee0a3cd0 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -50,7 +50,7 @@ public:
|
||||
void perform() override
|
||||
{
|
||||
if (Utils::optional<WorkspaceEdit> edit = m_action.edit()) {
|
||||
applyWorkspaceEdit(*edit);
|
||||
applyWorkspaceEdit(m_client, *edit);
|
||||
} else if (Utils::optional<Command> command = m_action.command()) {
|
||||
if (m_client)
|
||||
m_client->executeCommand(*command);
|
||||
|
||||
Reference in New Issue
Block a user