mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
parent
cfe4bd9eb3
commit
239acbfbc8
@ -44,11 +44,13 @@ line point is on."
|
|||||||
(direction (if (< point-line mark-line) :up :down)))
|
(direction (if (< point-line mark-line) :up :down)))
|
||||||
(deactivate-mark)
|
(deactivate-mark)
|
||||||
(when (and (eq direction :up) (bolp))
|
(when (and (eq direction :up) (bolp))
|
||||||
(forward-line -1)
|
(previous-logical-line 1 nil)
|
||||||
(move-to-column col))
|
(move-to-column col))
|
||||||
(while (not (eq (line-number-at-pos) point-line))
|
(while (not (eq (line-number-at-pos) point-line))
|
||||||
(mc/create-fake-cursor-at-point)
|
(mc/create-fake-cursor-at-point)
|
||||||
(if (eq direction :up) (forward-line -1) (forward-line 1))
|
(if (eq direction :up)
|
||||||
|
(previous-logical-line 1 nil)
|
||||||
|
(next-logical-line 1 nil))
|
||||||
(move-to-column col))
|
(move-to-column col))
|
||||||
(multiple-cursors-mode)))
|
(multiple-cursors-mode)))
|
||||||
|
|
||||||
|
@ -130,7 +130,6 @@ highlights the entire width of the window."
|
|||||||
mark-ring
|
mark-ring
|
||||||
mark-active
|
mark-active
|
||||||
yank-undo-function
|
yank-undo-function
|
||||||
kill-ring-yank-pointer
|
|
||||||
autopair-action
|
autopair-action
|
||||||
autopair-wrap-action
|
autopair-wrap-action
|
||||||
er/history)
|
er/history)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user