summaryrefslogtreecommitdiff
path: root/src/plugins/cpptools/cppheadersource_test.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2019-05-27 14:19:28 +0200
committerhjk <hjk@qt.io>2019-05-28 06:36:16 +0000
commit7c93b26792187633816f93f74b0f0ba7ef5d8eb4 (patch)
tree8964be495bf16a0344e75418f0223c0ac99709bb /src/plugins/cpptools/cppheadersource_test.cpp
parent2b1c8aa8777bfacb2d65cf137b45be86b58ef3cf (diff)
downloadqt-creator-7c93b26792187633816f93f74b0f0ba7ef5d8eb4.tar.gz
LSP: fix lsp position to QTextCursor position conversion
If the 'character' part of the lsp position is greater than the block length for the 'line' it defaults to the end of the line (see documentation under https://microsoft.github.io/language-server-protocol/specification ). Change-Id: I3ed6cefd7431e58adbab1dbcf94a12a5e460019a Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppheadersource_test.cpp')
0 files changed, 0 insertions, 0 deletions