[Qt-creator] Events with CTRL modifier not working with CustomEditorWidget
sanjay chopra
sanjuchopracool at gmail.com
Sat Jul 28 11:28:54 CEST 2018
Hi,
I am writing a plugin which will show assembly output for the current
opened C/C++ file. (https://github.com/sanjuchopracool/CodeInsight)
I created an editor factory which is actually using CppEditorFactory and
for Editor widget , I created a widget which use CppEditorWidget and add it
into the a splitter along with a push button(later it will be a text editor
which will show assembly code).
It is working but there is an annoying issue with editing. All the event
which use CTRL modifier (e.g. CTRL+A, CTRL+SHIFT+Up) are not working for
editor widget. Editor widget is CppEditor which is
BaseTextEditorWidget.When O open C/C++ files with standard editor,
everything works.
I am not able to figure out the issue. Please help me to fix this issue.
--
*RegardsSanjay*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180728/f705dbe5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Context_Menu.png
Type: image/png
Size: 124714 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180728/f705dbe5/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Custom_editor.png
Type: image/png
Size: 122095 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20180728/f705dbe5/attachment-0001.png>
More information about the Qt-creator
mailing list