Fixed single line comments in Less starting new regions
ClosedPublic

Authored by gszymaszek on Jan 26 2017, 2:28 PM.

Details

Summary

From bug 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

This diff fixes the mentioned issue for me.

Diff Detail

Repository
R216 Syntax Highlighting
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
gszymaszek updated this revision to Diff 10588.Jan 26 2017, 2:28 PM
gszymaszek retitled this revision from to Fixed single line comments in Less starting new regions.
gszymaszek updated this object.
gszymaszek edited the test plan for this revision. (Show Details)
gszymaszek set the repository for this revision to R216 Syntax Highlighting.
Restricted Application added a project: Frameworks. · View Herald TranscriptJan 26 2017, 2:28 PM
Restricted Application added a subscriber: Frameworks. · View Herald Transcript

A good patch, thanks!