[Differential] [Request, 4 lines] D4296: Fixed single line comments in Less starting new regions

Grzegorz Szymaszek noreply at phabricator.kde.org
Thu Jan 26 14:28:15 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20170126/b2974635/attachment.html>


More information about the Kde-frameworks-devel mailing list