<table><tr><td style="">loh.tar created this revision.<br />loh.tar added a reviewer: KTextEditor.<br />Herald added projects: Kate, Frameworks.<br />Herald added subscribers: kde-frameworks-devel, kwrite-devel.<br />loh.tar requested review of this revision.
</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/D20697">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The only two included changes noticeable by the user are:</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);"></pre></div>
<ul class="remarkup-list">
<li class="remarkup-list-item">Use line number color for unfolded triangle to be less intrusive</li>
<li class="remarkup-list-item">Move the line modification hint away from the edit area between the line numbers and the folding area to be less irritating when cursor is in first column</li>
</ul>
<p>Most of the changes in this patch could you see as code cosmetic or an attempt to make it more maintenance-friendly.</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);"></pre></div>
<ul class="remarkup-list">
<li class="remarkup-list-item">Cleanup, avoid redundancies and nesting</li>
<li class="remarkup-list-item">Rename members, make them unified named</li>
<li class="remarkup-list-item">Give each area an own value name</li>
<li class="remarkup-list-item">Remove m_oldBackgroundColor, can't see any benefit</li>
<li class="remarkup-list-item">Make positionToArea() and sizeHint() less error prone in case of design changes</li>
</ul></div></div><br /><div><strong>TEST PLAN</strong><div><p>Pls try it, but I'm not sure if I'm done with it</p>
<p><a href="https://phabricator.kde.org/F6783737" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F6783737: 1555761488.png</a></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/D20697">https://phabricator.kde.org/D20697</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/view/kateviewhelpers.cpp<br />
src/view/kateviewhelpers.h</div></div></div><br /><div><strong>To: </strong>loh.tar, KTextEditor<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, KTextEditor, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>