Bug 373002

Summary: Single line comment in Less begins a new region
Product: [Frameworks and Libraries] frameworks-syntax-highlighting Reporter: Grzegorz Szymaszek <gszymaszek>
Component: syntaxAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED FIXED    
Severity: minor    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Grzegorz Szymaszek 2016-11-27 20:01:42 UTC
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
Comment 1 Dominik Haumann 2017-07-23 14:03:35 UTC
Already fixed, see https://phabricator.kde.org/D4296 since KDE Frameworks 5.32.