[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/multiple-cursors 56d0373 075/434: Fix rectangular-region-m
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/multiple-cursors 56d0373 075/434: Fix rectangular-region-mode when adding cursors over hidden areas of the buffer. |
Date: |
Sat, 7 Aug 2021 09:19:58 -0400 (EDT) |
branch: elpa/multiple-cursors
commit 56d037319a577224069c667c1b176b063cf6d8bd
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>
Fix rectangular-region-mode when adding cursors over hidden areas of the
buffer.
---
rectangular-region-mode.el | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/rectangular-region-mode.el b/rectangular-region-mode.el
index 4477988..8226015 100644
--- a/rectangular-region-mode.el
+++ b/rectangular-region-mode.el
@@ -38,14 +38,12 @@
(anchor-line (save-excursion (goto-char rrm/anchor)
(line-number-at-pos)))
(left-column (if (< point-column anchor-column) point-column
anchor-column))
(right-column (if (> point-column anchor-column) point-column
anchor-column))
- (num-mirrors (abs (- point-line anchor-line)))
- (num-chars (- right-column left-column))
(navigation-func (if (< point-line anchor-line) 'next-line
'previous-line)))
(move-to-column anchor-column t)
(set-mark (point))
(move-to-column point-column t)
(mc/save-excursion
- (dotimes (i num-mirrors)
+ (while (not (= anchor-line (line-number-at-pos)))
(funcall navigation-func)
(move-to-column right-column t)
(move-to-column anchor-column t)
- [nongnu] elpa/multiple-cursors fb0e71a 371/434: Remove mention of marmalade, (continued)
- [nongnu] elpa/multiple-cursors fb0e71a 371/434: Remove mention of marmalade, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors be4fbc7 373/434: Mention MELPA Stable, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors dfaf621 392/434: Fix #254; remove mc/mark-next-like-this-extended, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 67d6579 388/434: Updated tests, README., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 277aef4 393/434: Make mc/list-file into defcustom, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 6327681 394/434: Merge pull request #267 from Fuco1/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors f6bac94 402/434: Add note about M-x, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 3f382d2 416/434: Move variables before first use, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 9980faa 419/434: Add dabbrev state variables to mc/cursor-specific-vars, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 5ff2071 420/434: Merge pull request #351 from jrosdahl/dabbrev-expand, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 56d0373 075/434: Fix rectangular-region-mode when adding cursors over hidden areas of the buffer.,
ELPA Syncer <=
- [nongnu] elpa/multiple-cursors c3c4544 083/434: Place the file definition with the save definition., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 39e4eb2 091/434: Added mc-version of mark-more-like-this-extended, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors b72e016 098/434: Don't require mark-multiple., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 294d574 093/434: Update README, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors b607794 110/434: Add config for travis-ci, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 32213d4 115/434: Make sure we run the right version of Emacs in travis., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 6e61e3d 114/434: Fix travis badge, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 719fe40 119/434: Integrate with rect.el instead of consolidating/splitting on kill-ring, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 5fcc69c 139/434: Skip keyboard macros, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 3f20fc1 154/434: When no region is active mc/mark-next-like-this and mc/mark-previous-like-this should create a cursor one like up (or down)., ELPA Syncer, 2021/08/07