LESS: import CSS keywords, new highlighting and some improvements

Authored by jpoelen on Aug 19 2019, 12:14 AM.

Description

LESS: import CSS keywords, new highlighting and some improvements

Summary:
New highlighting (same as CSS):

  • Value Keyword
  • Color
  • Number
  • Unit

Improvements and fixes (same as CSS):

  • number in scientific notation: 12.3e3
  • fix color (#aabbccaabbcc does not exist)
  • keywords: use <include>...##CSS rather than an individual lists

Reviewers: Framework: Syntax Highlighting, dhaumann, cullmann

Reviewed By: Framework: Syntax Highlighting, dhaumann

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: Kate, Frameworks

Differential Revision: https://phabricator.kde.org/D23278