loh.tar added a comment.
I didn't test it even more but think on it from time to time. If my slightly negative comment was OK or too fast judged. And yes it may. On the other hand I ask me if the approach to track each key stroke and change the behavior on that record is right or a wrong way. How about to judge each brace key stroke on the next char? If there is the same brace check if that brace is balanced or not. If it is, just move one position and your are done. This way should it be work always supporting and not only after a recent sequence start. (?) REPOSITORY R39 KTextEditor REVISION DETAIL https://phabricator.kde.org/D12295 To: sraizada, #ktexteditor, #kate, cullmann, dhaumann, brauch Cc: loh.tar, brauch, ngraham, kwrite-devel, kde-frameworks-devel, #ktexteditor, hase, michaelh, bruns, demsking, head7, cullmann, kfunk, sars, dhaumann