diff options
author | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-01-19 14:27:07 +0100 |
---|---|---|
committer | Thomas Hartmann <thomas.hartmann@qt.io> | 2017-01-19 15:59:27 +0000 |
commit | 64b8bd0924a0e84c873527705d3a65260778cb07 (patch) | |
tree | fd1b42cdac9683998fd6e25afd696a92955469cf /src/plugins/cpptools/cppcodegen_test.cpp | |
parent | 7a432a68c16b10641ec3013dbe5d39b36329d03e (diff) | |
download | qt-creator-64b8bd0924a0e84c873527705d3a65260778cb07.tar.gz |
QmlDesigner: Fixing context in TextEditorView
The context of the text editor is not automatically set
on the widget. This is usually handled by the editor manager.
Unfortunately the completion action is handled using the editor
manager. This means the completion assist widget position depends
on the cursor position in the original text editor managed by the
editor manager.
To fix this we have to register our own action that overrides the default
completion action and triggers the completion on the correct text editor
widget.
Change-Id: I4d7524f2d5ad2374af23f886d7fd08505a3c857f
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/cpptools/cppcodegen_test.cpp')
0 files changed, 0 insertions, 0 deletions