<table><tr><td style="">loh.tar updated this revision to Diff 53574.<br />loh.tar set the repository for this revision to R39 KTextEditor.<br />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/D19621">View Revision</a></tr></table><br /><div><div><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>me wrote:</p>
<ol class="remarkup-list" start="2">
<li class="remarkup-list-item">Please test with right to left text layout, and mixed text layout.</li>
</ol></blockquote>
<p>Can't say what is to be expect in such case, so test is difficult for me</p></blockquote>
<p>OK. It pointed out that these RTL implementation is slightly buggy in Kate/Qt and therefore I was lost. After recent "forced" request to implement it anyway and to ignore my inner aversions to do it, I found good old BUG 165397. These test data and comments helped me to judge now that this patch works as best as it is possible.</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Remove pointless "m_viewInternal->m_view->"</li>
<li class="remarkup-list-item">Re-arrange if cases, looks now similar as rest of the code</li>
<li class="remarkup-list-item">Use QFETCH, but not for all needed data. Requests to fix that will ignored :p</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D19621?vs=53540&id=53574">https://phabricator.kde.org/D19621?vs=53540&id=53574</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19621">https://phabricator.kde.org/D19621</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/src/kateview_test.cpp<br />
autotests/src/kateview_test.h<br />
src/view/kateview.cpp</div></div></div><br /><div><strong>To: </strong>loh.tar, KTextEditor<br /><strong>Cc: </strong>cullmann, brauch, dhaumann, ngraham, kwrite-devel, kde-frameworks-devel, KTextEditor, gennad, domson, michaelh, bruns, demsking, sars<br /></div>