safaalfulaij added a comment.
Wow! Great :) Thanks for looking into this, but I'm afraid that the problem isn't with backspace/del, but with the cursor positioning, at least for RTL and mixed text. I actually found this to be a problem in Qt after trying to solve it myself in KTextEditor: https://bugreports.qt.io/browse/QTBUG-65508 Not sure what's the root of the problem :( REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D19785 To: loh.tar, #ktexteditor Cc: safaalfulaij, kwrite-devel, kde-frameworks-devel, #ktexteditor, gennad, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann