mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-14 05:13:05 +00:00
Rename mc/mark-sgml-tags to mc/mark-sgml-tag-pair
This commit is contained in:
parent
f721308591
commit
c010afbbef
@ -321,7 +321,7 @@ With prefix, it behaves the same as original `mc/mark-all-like-this'"
|
|||||||
(mc/mark-all-like-this)
|
(mc/mark-all-like-this)
|
||||||
(if (and (mc--no-region-and-in-sgmlish-mode)
|
(if (and (mc--no-region-and-in-sgmlish-mode)
|
||||||
(mc--on-tag-name-p))
|
(mc--on-tag-name-p))
|
||||||
(mc/mark-sgml-tags)
|
(mc/mark-sgml-tag-pair)
|
||||||
(let ((before (mc/num-cursors)))
|
(let ((before (mc/num-cursors)))
|
||||||
(unless (eq last-command 'mc/mark-all-like-this-dwim)
|
(unless (eq last-command 'mc/mark-all-like-this-dwim)
|
||||||
(setq mc--restrict-mark-all-to-symbols nil))
|
(setq mc--restrict-mark-all-to-symbols nil))
|
||||||
@ -400,7 +400,7 @@ With prefix, it behaves the same as original `mc/mark-all-like-this'"
|
|||||||
(>= (point) beg)
|
(>= (point) beg)
|
||||||
(<= (point) end))))
|
(<= (point) end))))
|
||||||
|
|
||||||
(defun mc/mark-sgml-tags ()
|
(defun mc/mark-sgml-tag-pair ()
|
||||||
"Mark the tag we're in and its pair for renaming."
|
"Mark the tag we're in and its pair for renaming."
|
||||||
(interactive)
|
(interactive)
|
||||||
(when (not (mc--inside-tag-p))
|
(when (not (mc--inside-tag-p))
|
||||||
|
@ -549,7 +549,7 @@ for running commands with multiple cursors.")
|
|||||||
mc/mark-all-words-like-this-in-defun
|
mc/mark-all-words-like-this-in-defun
|
||||||
mc/mark-all-symbols-like-this-in-defun
|
mc/mark-all-symbols-like-this-in-defun
|
||||||
mc/mark-all-like-this-dwim
|
mc/mark-all-like-this-dwim
|
||||||
mc/mark-sgml-tags
|
mc/mark-sgml-tag-pair
|
||||||
mc/cycle-forward
|
mc/cycle-forward
|
||||||
mc/cycle-backward
|
mc/cycle-backward
|
||||||
rrm/switch-to-multiple-cursors
|
rrm/switch-to-multiple-cursors
|
||||||
|
Loading…
x
Reference in New Issue
Block a user