2000-09-01 Didier Verna <didier@xemacs.org>
* rect.el (replace-rectangle): New function.
This commit is contained in:
@@ -342,6 +342,12 @@ This command does not delete or overwrite any existing text."
|
||||
(move-to-column-force startcol)
|
||||
(insert string))
|
||||
|
||||
;;;###autoload
|
||||
(defun replace-rectangle (start end string)
|
||||
"Like `string-rectangle', but replace the original region."
|
||||
(interactive "*r\nsString rectangle: ")
|
||||
(apply-on-rectangle 'string-rectangle-line start end string t))
|
||||
|
||||
;;;###autoload
|
||||
(defun clear-rectangle (start end &optional fill)
|
||||
"Blank out the region-rectangle.
|
||||
|
||||
Reference in New Issue
Block a user