<table><tr><td style="">dhaumann added a comment.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D4234" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>In my opinion, the current solution is "ok", i.e., if I type: void foo(bar); with auto-brackets enabled, the current code is smart enough eat the ')' since it maintains the range. While defining new functions or calling methods, this works perfectly.</p>

<p>The proposed patch does the same but very aggressive, so it is not "clearly better", since it will have many false positives.</p>

<p>I vote to reject this patch, since it's much better to decide this now than waiting months without any action.</p>

<p><span class="phabricator-remarkup-mention-unknown">@J</span>érémy: That said, I still appreciate very much the fact that you try to improve this. Please don't feel demotivated by this and provide many more patches :-)</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4234" rel="noreferrer">https://phabricator.kde.org/D4234</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>cactus, KTextEditor<br /><strong>Cc: </strong>anthonyfieroni, dhaumann, brauch, cullmann, kwrite-devel, Frameworks<br /></div>