Function: magit-section--highlight-region
magit-section--highlight-region is a byte-compiled function defined in
magit-section.el.
Signature
(magit-section--highlight-region START END WINDOW ROL)
Source Code
;; Defined in ~/.emacs.d/elpa/magit-section-20260330.1102/magit-section.el
(defun magit-section--highlight-region (start end window rol)
(magit-section--delete-region-overlays)
(if (and magit-section-highlight-selection
(not magit-section-keep-region-overlay)
(or (magit-region-sections)
(run-hook-with-args-until-success 'magit-region-highlight-hook
(magit-current-section)))
(not (= (line-number-at-pos start)
(line-number-at-pos end)))
;; (not (eq (car-safe last-command-event) 'mouse-movement))
)
(funcall (default-value 'redisplay-unhighlight-region-function) rol)
(funcall (default-value 'redisplay-highlight-region-function)
start end window rol)))