diff options
author | David Schulz <david.schulz@qt.io> | 2019-02-01 14:08:02 +0100 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2019-02-04 11:22:59 +0000 |
commit | fa1862c7822f094c6475ed1cdda479bf815f4451 (patch) | |
tree | 93ecddf1c41fef294bb5c3fa7413db1af9e2af69 /src/plugins/cpptools/baseeditordocumentprocessor.cpp | |
parent | 93ea65682105651a908366aafeb080ec791dac73 (diff) | |
download | qt-creator-fa1862c7822f094c6475ed1cdda479bf815f4451.tar.gz |
LSP: move text marks from the manager to the individual clients
Diagnostics are “owned” by the server so it is the server’s
responsibility to clear them if necessary. So do not delete the
corresponding text mark after a file was closed, because the server does
not have to resend the diagnostics when the file is reopened. Only
delete text marks when they are replaced or when the client is deleted
or reset.
Change-Id: Ief821c7ec401f4c52ee30d99f8dec47dcd6f1c98
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cpptools/baseeditordocumentprocessor.cpp')
0 files changed, 0 insertions, 0 deletions