Function: lua--propertize-multiline-bounds
lua--propertize-multiline-bounds is a byte-compiled function defined
in lua-mode.el.gz.
Signature
(lua--propertize-multiline-bounds START END)
Documentation
Put text properties on multiline literal bounds within START and END.
Intended to be used as a syntax-propertize-function.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/lua-mode.el.gz
(defun lua--propertize-multiline-bounds (start end)
"Put text properties on multiline literal bounds within START and END.
Intended to be used as a `syntax-propertize-function'."
(save-excursion
(goto-char start)
(while (lua-match-multiline-literal-bounds end)
(when (match-beginning 1)
(put-text-property (match-beginning 1) (match-end 1)
'syntax-table (string-to-syntax "!")))
(when (match-beginning 2)
(put-text-property (match-beginning 2) (match-end 2)
'syntax-table (string-to-syntax "|"))))))