Function: artist-ff-get-rightmost-from-xy

artist-ff-get-rightmost-from-xy is a byte-compiled function defined in artist.el.gz.

Signature

(artist-ff-get-rightmost-from-xy X Y)

Documentation

Find the rightmost position in this run, starting at X, Y.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/artist.el.gz
(defun artist-ff-get-rightmost-from-xy (x y)
  "Find the rightmost position in this run, starting at X, Y."
  (save-excursion
    (let ((char-at-xy (artist-get-char-at-xy-conv x y))
	  (last-x x))
      (setq x (1+ x))
      (while (and (not (artist-ff-too-far-right x))
		  (= char-at-xy (artist-get-char-at-xy-conv x y)))
	(setq last-x x)
	(setq x (1+ x)))
      last-x)))