Function: web-mode-reveal
web-mode-reveal is an interactive and natively compiled function
defined in web-mode.el.
Signature
(web-mode-reveal)
Documentation
Display text properties at point.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/2qgnz1rp30nzfz6w0apx4kdm14if1bbs-emacs-packages-deps/share/emacs/site-lisp/elpa/web-mode-20260831.219/web-mode.el
(defun web-mode-reveal ()
"Display text properties at point."
(interactive)
(let (symbols out)
(setq out (format
"[point=%S engine=%S minor=%S content-type=%S language-at-pos=%S]\n"
(point)
web-mode-engine
web-mode-minor-engine
web-mode-content-type
(web-mode-language-at-pos (point))))
(setq symbols (append web-mode-scan-properties '(font-lock-face face)))
(dolist (symbol symbols)
(when symbol
(setq out (concat out (format "%s(%S) " (symbol-name symbol) (get-text-property (point) symbol)))))
)
(message "%s\n" out)
;;(message "syntax-class=%S" (syntax-class (syntax-after (point))))
(message nil)))