Function: consult--line-with-mark
consult--line-with-mark is a byte-compiled function defined in
consult.el.
Signature
(consult--line-with-mark MARKER)
Documentation
Current line string where the MARKER position is highlighted.
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
(defun consult--line-with-mark (marker)
"Current line string where the MARKER position is highlighted."
(let* ((beg (pos-bol))
(end (pos-eol))
(str (consult--buffer-substring beg end 'fontify)))
(if (>= marker end)
(concat str #(" " 0 1 (face consult-highlight-mark)))
(put-text-property (- marker beg) (- (1+ marker) beg)
'face 'consult-highlight-mark str)
str)))