loh.tar added a comment.
OK. I spend some time again, but give up now. I've got the feeling that these key event handling is not very well engineered. May someone else take a closer look for some better solution, or at least try this patch, if it breaks some other functionality. REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D19408 To: loh.tar, #ktexteditor Cc: dhaumann, cullmann, kwrite-devel, kde-frameworks-devel, #ktexteditor, gennad, domson, michaelh, ngraham, bruns, demsking, sars