diff options
author | Stefan Monnier <[email protected]> | 2014-06-11 17:51:44 -0400 |
---|---|---|
committer | Stefan Monnier <[email protected]> | 2014-06-11 17:51:44 -0400 |
commit | 7e74ad023826cfe89604b09b605ef74679b375e2 (patch) | |
tree | b60095b9e15c1177ff6d30e6db571bd509690c5b /etc | |
parent | b83db3b9439b36e84cf8dfb253b8a6006f726c4d (diff) |
* lisp/rect.el: Make it possible to move bounds past EOL or into TABs.
(operate-on-rectangle): Use apply-on-rectangle.
(rectangle--mark-crutches): New var.
(rectangle--pos-cols, rectangle--col-pos, rectangle--point-col)
(rectangle--crutches, rectangle--reset-crutches): New functions.
(apply-on-rectangle): Obey crutches. Avoid setq.
Fix missing final iteration if end is at EOB&BOL.
(rectangle-mark-mode-map): Add remap bindings for
exchange-point-and-mark and char/line movements.
(rectangle--*-char): New function.
(rectangle-exchange-point-and-mark, rectangle-right-char)
(rectangle-left-char, rectangle-forward-char)
(rectangle-backward-char, rectangle-next-line)
(rectangle-previous-line): New commands.
(rectangle--place-cursor): New function.
(rectangle--highlight-for-redisplay): Use it. Use apply-on-rectangle.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -72,6 +72,9 @@ performance improvements when pasting large amounts of text. * Changes in Specialized Modes and Packages in Emacs 24.5 +** rectangle-mark-mode can now have corners past EOL or in the middle of a TAB +Also C-x C-x in rectangle-mark-mode now cycles through the four corners. + ** font-lock *** New functions font-lock-ensure and font-lock-flush that should be used instead of font-lock-fontify-buffer when called from Elisp. |