<table><tr><td style="">gszymaszek created this revision.<br />gszymaszek added a reviewer: Framework: Syntax Hightlighting.<br />gszymaszek set the repository for this revision to R216 Syntax Highlighting.<br />gszymaszek added a project: Framework: Syntax Hightlighting.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</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/D4296" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>From bug <a href="https://bugs.kde.org/show_bug.cgi?id=373002" class="remarkup-link" target="_blank" rel="noreferrer">373002</a>:</p>
<blockquote style="border-left: 3px solid #a7b5bf; color: #464c5c; font-style: italic; margin: 4px 0 12px 0; padding: 4px 12px; background-color: #f8f9fc;"><p>If you type // in a Less (LESSCSS) file, Kate incorrectly opens a new region (it should do it in case of multiline comment, /*…*/). If you try to hide that region (using the arrow that's next to line number) it actually hides everything in the file starting from the comment.</p>
<p>Fixing this bug requires removing ' beginRegion="lessComment" ' from line 924 (of less.xml) and incrementing file version number on line 3.</p>
<p>Single line comments are part of Less, as stated here:<br />
<a href="http://lesscss.org/features/#features-overview-feature-comments" class="remarkup-link" target="_blank" rel="noreferrer">http://lesscss.org/features/#features-overview-feature-comments</a></p></blockquote>
<p>This diff fixes the mentioned issue for me.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R216 Syntax Highlighting</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4296" rel="noreferrer">https://phabricator.kde.org/D4296</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>data/syntax/less.xml</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>gszymaszek, Framework: Syntax Hightlighting<br /><strong>Cc: </strong>Frameworks, cullmann, vkrause, dhaumann<br /></div>