D12295: Supporting nested brackets for Kate autobrackets

loh tar noreply at phabricator.kde.org
Sun Jan 6 14:03:10 GMT 2019

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. 

  R39 KTextEditor


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190106/7f89c066/attachment.html>

More information about the KWrite-Devel mailing list