<table><tr><td style="">buschinski created this revision.<br />buschinski added a reviewer: KTextEditor.<br />Herald added projects: Kate, Frameworks.<br />Herald added subscribers: kde-frameworks-devel, kwrite-devel.<br />buschinski 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/D16018">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>After <br />
<a href="https://bugs.kde.org/show_bug.cgi?id=360456" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=360456</a><br />
<a href="https://cgit.kde.org/ktexteditor.git/commit/?id=58baf7c318d4641a243ea18f04ef15ee017509e3" class="remarkup-link" target="_blank" rel="noreferrer">https://cgit.kde.org/ktexteditor.git/commit/?id=58baf7c318d4641a243ea18f04ef15ee017509e3</a></p>
<p>the align of doxygen comments in templates stopped working.</p>
<p>Without the patch:</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);">/**
* foo
*/
void foo();</pre></div>
<p>with the patch:</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);">/**
* foo
*/
void foo();</pre></div>
<p>TODO: the added testcase does work with and without the patch. I can not create a reproducible test and need some help.</p>
<p>currently only reproducible with kdevelop</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">start kdevelop</li>
<li class="remarkup-list-item">open any c/cpp file with functions</li>
<li class="remarkup-list-item">select the function / click in the name</li>
<li class="remarkup-list-item">Code -> Document Declaration</li>
</ul>
<p>-> not properly align</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">LD_PRELOAD=libKF5TextEditor.so kdevelop (with the patch)</li>
<li class="remarkup-list-item">repeat the rest of the steps</li>
</ul>
<p>-> correctly aligned</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/D16018">https://phabricator.kde.org/D16018</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/input/indent/cstyle/doxygen11/expected<br />
autotests/input/indent/cstyle/doxygen11/input.js<br />
autotests/input/indent/cstyle/doxygen11/origin<br />
src/script/data/indentation/cstyle.js</div></div></div><br /><div><strong>To: </strong>buschinski, KTextEditor<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>