[Differential] [Commented On] D4234: Change algorithm for autobrace.

Jérémy Girard noreply at phabricator.kde.org
Tue Jan 24 21:37:55 UTC 2017


cactus added a comment.


  Sorry, I am not sure to understand what do you want. You would like the previous behavior with a multi-depth stack of range?
  
  I don't understand what disturb you in my solution. You can close a missing bracket. If you have (| and you press ')', you obtain ()|.
  But if you have many parenthesis with missing closed one, this solution considers the missing is the much external.
  So with (((|)), and pressing many time on the closed parenthesis give you
  ((()|)
  ((())|
  ((()))|
  
  But I think this situation is very occasional because every brace is automatically closed.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D4234

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: cactus, #ktexteditor
Cc: brauch, cullmann, kwrite-devel, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170124/f58855bf/attachment.html>


More information about the Kde-frameworks-devel mailing list