Function: combobulate--refactor-toggle-field

combobulate--refactor-toggle-field is a natively compiled function defined in combobulate-manipulation.el.

Signature

(combobulate--refactor-toggle-field PT TAG)

Source Code

;; Defined in /nix/store/b5fvrwzi3zvkabyzx0in6gw1cj963z46-emacs-packages-deps/share/emacs/site-lisp/combobulate-manipulation.el
(defun combobulate--refactor-toggle-field (pt tag)
  (when-let ((ov (combobulate--refactor--get-field pt tag)))
    (overlay-put ov 'combobulate-refactor-field-enabled
                 (not (overlay-get ov 'combobulate-refactor-field-enabled)))
    (overlay-put ov 'face (if (overlay-get ov 'combobulate-refactor-field-enabled)
                              'combobulate-refactor-field-face
                            'combobulate-refactor-disabled-field-face))))