<table><tr><td style="">ahmadsamir created this revision.<br />ahmadsamir added reviewers: KTextEditor, cullmann, dhaumann.<br />Herald added projects: Kate, Frameworks.<br />ahmadsamir 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/D19161">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>QTextFormat::FontUnderline has been deprecated upstream for a long time.</p>

<p>It seems that for some time setting the underline attribute for syntax<br />
highlighting has been broken, i.e. a user can't set it via the config<br />
widget and setKateExtendedAttributeList always sets it to false. The<br />
latter meant that when the user applied any changes that would write<br />
katesyntaxhighlightingrc, the underline attribute for syntax HL would<br />
unconditionally be set to false which leads to some weird situations,<br />
(e.g. bug 399278 where un/setting "highlight trailing spaces" causes<br />
katesyntaxhighlightingrc to get written to disk which leads to<br />
Markdown:linebreak losing its underline attribute for good).</p>

<p>BUG: 399278<br />
FIXED-IN: 5.57</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>BRANCH</strong><div><div>syntax-hl (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19161">https://phabricator.kde.org/D19161</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/schema/katestyletreewidget.cpp<br />
src/syntax/katehighlight.cpp<br />
src/syntax/katesyntaxmanager.cpp</div></div></div><br /><div><strong>To: </strong>ahmadsamir, KTextEditor, cullmann, dhaumann<br /><strong>Cc: </strong>kde-frameworks-devel, kwrite-devel, gennad, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>