Update SCSS and CSS syntax highlight

Review Request #128925 - Created Sept. 16, 2016 and submitted

Information
Yunhe Guo
ktexteditor
Reviewers
kate
  • Use less and more simple context rules.
  • Support complex SCSS structures, e.g. variables in @media, nesting, variable define.
  • Support SCSS functions.
  • Support CSS @keyframes structure and @media conditions.
  • Different highlight colors for id, class, attribute and pseudo selectors.
  • Reduce highlight errors.

Test files were also uploaded. Here is screenshots:

http://imgur.com/a/6fmWU

http://imgur.com/a/jGZNS

Compared with new syntax highlight files, the old highlight cause some errors on complex syntax.

Files


Issues

  • 0
  • 2
  • 0
  • 2
Description From Last Updated
Yunhe Guo
Dominik Haumann
Yunhe Guo
Dominik Haumann
Yunhe Guo
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit f92238c5cd210b4887fbd9f0c9cfe153361f292b by Dominik Haumann to branch master.
Loading...