Function: ghostel--soft-wrap-line-end
ghostel--soft-wrap-line-end is a natively compiled function defined in
ghostel-links.el.
Signature
(ghostel--soft-wrap-line-end POS LIMIT)
Documentation
Return the end of POS's logical line, crossing soft-wrap newlines.
LIMIT caps how many rows the search walks forward.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-links.el
(defun ghostel--soft-wrap-line-end (pos limit)
"Return the end of POS's logical line, crossing soft-wrap newlines.
LIMIT caps how many rows the search walks forward."
(save-excursion
(goto-char pos)
(end-of-line)
(let ((rows 0))
(while (and (< rows limit)
(get-text-property (point) 'ghostel-wrap))
(forward-line 1)
(end-of-line)
(setq rows (1+ rows))))
(point)))