1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
emacs/test/lisp/textmodes
Simen Heggestøyl 58d0642e1c Add Imenu support to CSS mode and its derivatives
* lisp/textmodes/css-mode.el (css--join-nested-selectors)
(css--prev-index-position, css--extract-index-name): New helper
functions for supporting Imenu.
(css-mode): Set `imenu-space-replacement',
`imenu-prev-index-position-function', and
`imenu-extract-index-name-function'.
(css-current-defun-name): Reuse `css--prev-index-position' and
`css--extract-index-name' to support nested selectors.

* test/lisp/textmodes/css-mode-tests.el (css-test-current-defun-name):
Fix character index.
(css-test-join-nested-selectors): New tests for
`css--join-nested-selectors'.

* etc/NEWS: Add news entry.
2018-05-29 21:24:26 +02:00
..
css-mode-tests.el Add Imenu support to CSS mode and its derivatives 2018-05-29 21:24:26 +02:00
dns-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
fill-tests.el ; * test/lisp/textmodes/fill-tests.el: Fix copyright years. 2018-01-26 19:18:23 -08:00
mhtml-mode-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
reftex-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
sgml-mode-tests.el Handle quotation marks and apostrophes in ‘sgml-quote’ 2018-04-07 11:16:12 +01:00
tildify-tests.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00