Function: cua-resize-rectangle-eol

cua-resize-rectangle-eol is an interactive and byte-compiled function defined in cua-rect.el.gz.

Signature

(cua-resize-rectangle-eol)

Documentation

Resize rectangle to end of line.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emulation/cua-rect.el.gz
(defun cua-resize-rectangle-eol ()
  "Resize rectangle to end of line."
  (interactive)
  (unless (eolp)
    (end-of-line)
    (if (> (current-column) (cua--rectangle-right))
        (cua--rectangle-right (current-column)))
    (if (not (cua--rectangle-right-side))
        (cua--rectangle-corner 1))
    (cua--rectangle-resized)))