Function: kcell-view:to-visible-label-end
kcell-view:to-visible-label-end is a byte-compiled function defined in
kview.el.
Signature
(kcell-view:to-visible-label-end &optional POS)
Documentation
Move point to end of the visible cell's label.
Cell is current or at optional POS. Point is set before the label separator. If between kcells, move to the previous one. Return final point location.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kview.el
(defun kcell-view:to-visible-label-end (&optional pos)
"Move point to end of the visible cell's label.
Cell is current or at optional POS. Point is set before the label separator.
If between kcells, move to the previous one. Return final point location."
(when pos
(goto-char pos))
;; Ensure point is within a visible part of the current cell, not
;; within some collapsed sub-cell.
(beginning-of-line)
(end-of-line)
(when (setq pos (kproperty:previous-single-change (point) 'kcell))
(goto-char pos))
;; Now move to end of label via embedded kcell property.
(goto-char (kproperty:previous-single-change (point) 'kcell)))