diff options
author | Eike Ziller <eike.ziller@qt.io> | 2018-09-19 09:36:32 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@qt.io> | 2018-09-19 11:25:12 +0000 |
commit | 8195c60917b3643d3903aa2520818ac86c005de1 (patch) | |
tree | 2b1878d82efcb719154b65997beb81205dad9e72 /src/plugins/cpptools/compileroptionsbuilder.cpp | |
parent | ba5f93003ed859947147b7f76d276425d76ab83c (diff) | |
download | qt-creator-8195c60917b3643d3903aa2520818ac86c005de1.tar.gz |
LSP: Fix lagging behind "documentHighlight"
We highlight the current symbol on cursor changes
(="documentHighlight"), but when the contents change the text editor
widget first informs us about the cursor change, then the content
change. This resulted in the highlighting being done on the old content.
Delay the symbol highlight by a short amount of time, so it always
operates on the new content.
Change-Id: Ic24b2a853697c588ae73b102868e8f74e4437606
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/cpptools/compileroptionsbuilder.cpp')
0 files changed, 0 insertions, 0 deletions