gszymaszek created this revision. gszymaszek added a reviewer: Framework: Syntax Hightlighting. gszymaszek set the repository for this revision to R216 Syntax Highlighting. gszymaszek added a project: Framework: Syntax Hightlighting. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks.
REVISION SUMMARY From bug 373002 <https://bugs.kde.org/show_bug.cgi?id=373002>: > 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. > > Fixing this bug requires removing ' beginRegion="lessComment" ' from line 924 (of less.xml) and incrementing file version number on line 3. > > Single line comments are part of Less, as stated here: > http://lesscss.org/features/#features-overview-feature-comments <http://lesscss.org/features/#features-overview-feature-comments> This diff fixes the mentioned issue for me. REPOSITORY R216 Syntax Highlighting REVISION DETAIL https://phabricator.kde.org/D4296 AFFECTED FILES data/syntax/less.xml EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: gszymaszek, #framework_syntax_hightlighting Cc: #frameworks, cullmann, vkrause, dhaumann