mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 21:03:05 +00:00
mc/mark-lines: Mark by logical lines.
This commit is contained in:
parent
66ceb0b0d4
commit
2186e1b6e5
@ -173,9 +173,9 @@ With zero ARG, skip the last one and mark next."
|
|||||||
(dotimes (i num-lines)
|
(dotimes (i num-lines)
|
||||||
(mc/create-fake-cursor-at-point)
|
(mc/create-fake-cursor-at-point)
|
||||||
(ecase direction
|
(ecase direction
|
||||||
(forwards (loop do (next-line 1 nil)
|
(forwards (loop do (next-logical-line 1 nil)
|
||||||
while (mc/all-fake-cursors (point) (1+ (point)))))
|
while (mc/all-fake-cursors (point) (1+ (point)))))
|
||||||
(backwards (loop do (previous-line 1 nil)
|
(backwards (loop do (previous-logical-line 1 nil)
|
||||||
while (mc/all-fake-cursors (point) (1+ (point))))))))
|
while (mc/all-fake-cursors (point) (1+ (point))))))))
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user