diff options
author | Simen Heggestøyl <simenheg@gmail.com> | 2016-03-23 19:03:47 +0100 |
---|---|---|
committer | Simen Heggestøyl <simenheg@gmail.com> | 2016-03-23 19:03:47 +0100 |
commit | 269d5631ab6ae7a5a792d0139b9421bddac8870c (patch) | |
tree | 00bfdf536dff6c02ad1b5c7e869eeaa8ad91d9bd /lisp/emacs-lisp/edebug.el | |
parent | 500a781bc5d3d7cc2f671a950816ba4035a9d58c (diff) | |
download | emacs-269d5631ab6ae7a5a792d0139b9421bddac8870c.tar.gz emacs-269d5631ab6ae7a5a792d0139b9421bddac8870c.tar.bz2 emacs-269d5631ab6ae7a5a792d0139b9421bddac8870c.zip |
Support completion of attribute values in CSS mode
* lisp/textmodes/css-mode.el (css-property-alist): New defconst
holding CSS identifiers and the values they can have.
(css-property-ids): Compute dynamically from `css-property-alist'.
(css-value-class-alist): New defconst holding property value classes
and their values.
(css--property-value-cache): New variable providing a cache for
`css--property-values'.
(css--value-class-lookup): New function for computing a list of values
in a value class.
(css--property-values): New function for computing a list of possible
values for a CSS property.
(css--complete-property-value): New function for completing a property
value.
(css-completion-at-point): Add support for completing property values.
* test/lisp/textmodes/css-mode-tests.el: New file.
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
0 files changed, 0 insertions, 0 deletions