Function: web-mode-attribute-select
web-mode-attribute-select is an interactive and natively compiled
function defined in web-mode.el.
Signature
(web-mode-attribute-select &optional POS)
Documentation
Select the current html attribute.
Key Bindings
web-mode-map C-c C-a s
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-attribute-select (&optional pos)
"Select the current html attribute."
(interactive)
(unless pos (setq pos (point)))
(if (null (get-text-property pos 'tag-attr))
nil
(goto-char pos)
(web-mode-attribute-beginning)
(set-mark (point))
(web-mode-attribute-end)
(exchange-point-and-mark)
(point)
))