Function: evil-visual-range

evil-visual-range is a byte-compiled function defined in evil-states.el.

Signature

(evil-visual-range)

Documentation

Return the Visual selection as a range.

This is a list (BEG END TYPE PROPERTIES...), where BEG is the beginning of the selection, END is the end of the selection, TYPE is the selection's type, and PROPERTIES is a property list of miscellaneous selection attributes.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-states.el
(defun evil-visual-range ()
  "Return the Visual selection as a range.
This is a list (BEG END TYPE PROPERTIES...), where BEG is the
beginning of the selection, END is the end of the selection,
TYPE is the selection's type, and PROPERTIES is a property list
of miscellaneous selection attributes."
  (apply #'evil-range
         evil-visual-beginning evil-visual-end
         (evil-visual-type)
         :expanded t
         evil-visual-properties))