1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-13 02:12:18 -07:00
emacs/lisp/textmodes
Simen Heggestøyl bd9e8b31a1 Add command for cycling between CSS color formats
* lisp/textmodes/css-mode.el (css-mode-map): Add keybinding for
'css-cycle-color-format'.
(css--rgb-color): Add support for extracting alpha component.
(css--hex-alpha, css--color-to-4-dpc, css--named-color-to-hex)
(css--format-rgba-alpha, css--hex-to-rgb)
(css--rgb-to-named-color-or-hex): New functions.
(css-cycle-color-format): New command for cycling between color
formats.

* test/lisp/textmodes/css-mode-tests.el (css-test-color-to-4-dpc):
(css-test-named-color-to-hex, css-test-format-rgba-alpha)
(css-test-hex-to-rgb, css-test-rgb-to-named-color-or-hex)
(css-test-cycle-color-format, css-test-hex-alpha): New tests for the
changes mentioned above.

* etc/NEWS: Mention the new command.
2017-12-17 10:26:04 +01:00
..
artist.el
bib-mode.el
bibtex-style.el
bibtex.el
conf-mode.el
css-mode.el Add command for cycling between CSS color formats 2017-12-17 10:26:04 +01:00
dns-mode.el Support Certification Authority Authorization in dns-mode.el 2017-10-27 16:59:42 +03:00
enriched.el
fill.el
flyspell.el
ispell.el
less-css-mode.el Fixes for defcustoms, prompted by cus-test-opts 2017-12-13 15:29:24 -05:00
makeinfo.el
mhtml-mode.el * lisp/subr.el (run-mode-hooks): Set parse-sexp-lookup-properties 2017-12-12 09:11:17 -05:00
nroff-mode.el maint: shorten https://lists.gnu.org/archive/html/... links 2017-11-25 22:48:12 -08:00
page-ext.el
page.el
paragraphs.el
picture.el ; Typo fixes, mostly repeated words 2017-10-09 22:55:06 -07:00
po.el
refbib.el
refer.el
refill.el
reftex-auc.el
reftex-cite.el
reftex-dcr.el
reftex-global.el
reftex-index.el ; Fix some comment typos 2017-11-03 15:18:32 -04:00
reftex-parse.el
reftex-ref.el Merge from origin/emacs-26 2017-11-08 19:22:26 -08:00
reftex-sel.el
reftex-toc.el ; Fix some comment typos 2017-11-03 15:18:32 -04:00
reftex-vars.el
reftex.el
remember.el Merge from origin/emacs-26 2017-11-02 21:01:04 -07:00
rst.el Merge from origin/emacs-26 2017-10-20 22:44:13 -07:00
sgml-mode.el
table.el
tex-mode.el * lisp/textmodes/tex-mode.el: Ensure uncompiled file is loadable. 2017-12-14 22:01:32 -08:00
texinfmt.el Fix doc typos 2017-10-28 17:10:25 -07:00
texinfo.el * lisp/subr.el (run-mode-hooks): Set parse-sexp-lookup-properties 2017-12-12 09:11:17 -05:00
texnfo-upd.el
text-mode.el
tildify.el Escape column-zero doc parens 2017-12-12 23:18:35 -08:00
two-column.el
underline.el