Function: bounds-of-evil-string-at-point

bounds-of-evil-string-at-point is a byte-compiled function defined in evil-common.el.

Signature

(bounds-of-evil-string-at-point &optional STATE)

Documentation

Return the bounds of a string at point.

If STATE is given it used a parsing state at point.

Source Code

;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-common.el
(defun bounds-of-evil-string-at-point (&optional state)
  "Return the bounds of a string at point.
If STATE is given it used a parsing state at point."
  (save-excursion
    (let ((state (or state (syntax-ppss))))
      (when (nth 3 state)
        (cons (nth 8 state)
              (when (parse-partial-sexp
                     (point) (point-max) nil nil state 'syntax-table)
                (point)))))))