Function: cua-text-fill-rectangle

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

Signature

(cua-text-fill-rectangle WIDTH TEXT)

Documentation

Replace rectangle with filled TEXT read from minibuffer.

A numeric prefix argument is used a new width for the filled rectangle.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/emulation/cua-rect.el.gz
(defun cua-text-fill-rectangle (width text)
  "Replace rectangle with filled TEXT read from minibuffer.
A numeric prefix argument is used a new width for the filled rectangle."
  (interactive (list
                (prefix-numeric-value current-prefix-arg)
                (read-from-minibuffer "Enter text: "
                                      nil nil nil nil)))
  (cua--rectangle-aux-replace width t t t 1
    'cua--left-fill-rectangle
    (lambda () (insert text))))