Changes

Jump to navigation Jump to search
10 bytes added ,  12:35, 12 May 2006
<pre>
(defun context-FLOW-shift-cells (x y &optional beg end)
"Shifts FLOW cells in region right and down"
(interactive "nRight: \nnDown: \nr")
(save-excursion
(goto-char beg) (while (search-forward-regexp "{\\([0-9]+\\),\\([0-9]+\\)}" end t) (replace-match (concat "{" (number-to-string (+ (string-to-number (match-string 1)) x)) "," (number-to-string (+ (string-to-number (match-string 2)) y)) "}") nil nil))))
(defun context-FLOW-insert-cells (%optional n)
Anonymous user

Navigation menu