Files
emacs/lisp/progmodes
Jackson Ray Hamilton 4d2b5bbfeb Font-lock JSX while editing it by extending regions
* lisp/progmodes/js.el (js-jsx--font-lock-keywords):
Call tag beginning and end matchers.
(js-jsx--match-tag-beg, js-jsx--match-tag-end): New functions.
(js-jsx--syntax-propertize-tag): Record buffer positions of JSXElement
beginning and end for font-locking.

(js--syntax-propertize-extend-region)
(js-jsx--syntax-propertize-extend-region): New functions for extending
the syntax-propertize region backwards to the start of a JSXElement so
its JSXAttribute children on its n+1th lines can be parsed as such
while editing those lines.
(js-mode): Add js--syntax-propertize-extend-region to
syntax-propertize-extend-region-functions.
2019-04-08 22:48:21 -07:00
..
2019-03-18 17:02:29 -07:00
2019-02-13 00:51:15 -08:00
2019-03-19 18:47:53 -07:00
2019-03-18 17:02:29 -07:00
2019-03-18 17:02:29 -07:00
2019-03-18 17:02:29 -07:00
2019-03-09 10:07:46 -08:00
2019-03-18 17:02:29 -07:00
2019-03-08 09:09:40 -08:00
2019-03-18 17:02:29 -07:00
2019-03-18 17:02:29 -07:00
2019-03-10 23:11:21 -07:00
2019-04-07 02:45:33 -07:00
2019-03-22 22:34:41 -04:00
2019-04-07 20:51:00 +02:00