<table><tr><td style="">loh.tar 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/D12295">View Revision</a></tr></table><br /><div><div><p>His original post with some more text/hints/questions    <br />
<a href="https://mail.kde.org/pipermail/kwrite-devel/2018-April/000345.html" class="remarkup-link" target="_blank" rel="noreferrer">https://mail.kde.org/pipermail/kwrite-devel/2018-April/000345.html</a><br />
He got the advice from <a href="https://phabricator.kde.org/p/brauch/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;">@brauch</a> to post here.</p>

<p>For me a little bit hard to follow, not only there but also here.<br />
I could apply this patch almost without trouble. Why some stuff was rejected I have no idea. Just added manually and it seems to work.</p>

<p>So far I understood ask he how to add in some cases the proper cursor positions to the stack, and not only an "approximation". But the noted code lines are not so easy to find for me.</p>

<p>The main issue with this patch is (as he had explained (I think)) that it does not work properly when you move/edit around inside some new created "brace range". To fix this he ask for help.</p>

<p>My feeling is that this patch may cause in the actual condition more hassle than it solves due to the noted missing fixes.</p>

<p>Currently I have not the mood to think more about this, but you smart guys may have no problem to fix the issues :-)</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/D12295">https://phabricator.kde.org/D12295</a></div></div><br /><div><strong>To: </strong>sraizada, KTextEditor, Kate, cullmann, dhaumann, brauch<br /><strong>Cc: </strong>loh.tar, brauch, ngraham, kwrite-devel, kde-frameworks-devel, KTextEditor, hase, michaelh, bruns, demsking, head7, cullmann, kfunk, sars, dhaumann<br /></div>