Function: kcell-view:lines-visible
kcell-view:lines-visible is a byte-compiled function defined in
kview.el.
Signature
(kcell-view:lines-visible)
Documentation
Return the number of lines visible within the current cell.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/kotl/kview.el
(defun kcell-view:lines-visible ()
"Return the number of lines visible within the current cell."
;; Use free variable kview-label-sep-len bound in kview:map-* for speed.
(if (kcell-view:invisible-p)
0
(let* ((start (kcell-view:start nil (kview:label-separator-length kotl-kview)))
(end (kview:first-invisible-point start)))
;; Prevent bounds error with empty cells that have hidden subtrees.
(max 1 (count-lines start end)))))