1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-23 06:00:41 -08:00
emacs/lisp/textmodes
Tom Tromey f0708fc5e4 Add color highlighting to css-mode
Bug#25525
* lisp/textmodes/css-mode.el (css--color-map): New constant.
(css-value-class-alist): Use css--color-map.
(css--number-regexp, css--percent-regexp)
(css--number-or-percent-regexp, css--angle-regexp): New constants.
(css--color-skip-blanks, css--rgb-color, css--hsl-color): New
functions.
(css--colors-regexp): New constant.
(css--hex-color, css--named-color, css--compute-color)
(css--contrasty-color, css--fontify-colors)
(css--fontify-region): New functions.
(css-mode): Set font-lock-fontify-region-function.
(css-mode-syntax-table): Set syntax on more characters.
(css-fontify-colors): New defcustom.
(scss-mode-syntax-table): Define syntax for ?$ and ?%.
* test/lisp/textmodes/css-mode-tests.el (css-test-property-values):
Update.
(css-test-rgb-parser, css-test-hsl-parser)
(css-test-named-color): New tests.
* etc/NEWS: Add entry.
2017-05-03 16:00:25 -06:00
..
artist.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
bib-mode.el Don't pass the value of point to 'push-mark', as that's the default. 2017-04-28 11:25:26 +03:00
bibtex-style.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
bibtex.el Add Conference to the list of valid bibtex entry types 2017-02-23 19:04:27 -05:00
conf-mode.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
css-mode.el Add color highlighting to css-mode 2017-05-03 16:00:25 -06:00
dns-mode.el Revert "Add DNS keywords and remove duplications" 2017-01-11 20:52:26 +02:00
enriched.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
fill.el Don't delete leading and trailing space from CJK word (bug#25685) 2017-02-15 01:26:59 +00:00
flyspell.el Don't lose key bindings on mis-spelled text in flyspell-mode 2017-04-30 21:55:58 +03:00
ispell.el ispell.el: use user-error rather than debug-ignored-errors 2017-04-17 20:09:27 -04:00
makeinfo.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
mhtml-mode.el ; Spelling and punctuation fixes 2017-04-06 19:27:00 -07:00
nroff-mode.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
page-ext.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
page.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
paragraphs.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
picture.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
po.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
refbib.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
refer.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
refill.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
reftex-auc.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
reftex-cite.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
reftex-dcr.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
reftex-global.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
reftex-index.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
reftex-parse.el Fix RefTeX to show table of contents for dtx files (tiny change) 2017-01-02 13:11:49 +01:00
reftex-ref.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
reftex-sel.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
reftex-toc.el * lisp/textmodes/reftex-toc.el (reftex-re-enlarge): Demote errors. 2017-02-28 11:15:24 -05:00
reftex-vars.el Add \citetitle to biblatex cite format 2017-01-27 17:47:03 +01:00
reftex.el Match all characters in optional argument of \documentclass 2017-02-13 17:07:12 +01:00
remember.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
rst.el * lisp/textmodes/rst.el (rst-package-emacs-version-alist): Fixes. 2017-04-07 13:42:58 -04:00
sgml-mode.el Avoid unnecessary loading of subr-x at run-time 2017-04-18 19:07:28 -04:00
table.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
tex-mode.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
texinfmt.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
texinfo.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
texnfo-upd.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
text-mode.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
tildify.el Merge from origin/emacs-25 2017-01-01 01:10:47 -08:00
two-column.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00
underline.el Update copyright year to 2017 2016-12-31 19:42:26 -08:00