mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Merge pull request #92 from knu/mark_by_logical_lines
mc/mark-lines: Mark by logical lines.
This commit is contained in:
commit
398cc9e466
@ -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