Function: mc-hide-unmatched-lines-mode
mc-hide-unmatched-lines-mode is an interactive and natively compiled
function defined in mc-hide-unmatched-lines-mode.el.
Signature
(mc-hide-unmatched-lines-mode &optional ARG)
Documentation
Minor mode when enabled hides all lines where no cursors (and
also hum/lines-to-expand below and above) To make use of this mode press "C-'" while multiple-cursor-mode is active. You can still edit lines while you are in mc-hide-unmatched-lines mode. To leave this mode press <return> or "C-g"
This is a minor mode. If called interactively, toggle the
Mc-Hide-Unmatched-Lines mode mode. If the prefix argument is
positive, enable the mode, and if it is zero or negative, disable the
mode.
If called from Lisp, toggle the mode if ARG is toggle. Enable the
mode if ARG is nil, omitted, or is a positive number. Disable the mode
if ARG is a negative number.
To check whether the minor mode is enabled in the current buffer,
evaluate the variable mc-hide-unmatched-lines-mode(var)/mc-hide-unmatched-lines-mode(fun).
The mode's hook is called both when the mode is enabled and when it is disabled.
<return> hum/keyboard-quit
C-g hum/keyboard-quit
Key Bindings
mc/keymap C-'
Source Code
;; Defined in /nix/store/5q7a78ihkz25lf4xmxaa9m7b2ym63m36-emacs-packages-deps/share/emacs/site-lisp/elpa/multiple-cursors-20260419.931/mc-hide-unmatched-lines-mode.el
;;;###autoload
(define-minor-mode mc-hide-unmatched-lines-mode
"Minor mode when enabled hides all lines where no cursors (and
also hum/lines-to-expand below and above) To make use of this
mode press \"C-'\" while multiple-cursor-mode is active. You can
still edit lines while you are in mc-hide-unmatched-lines
mode. To leave this mode press <return> or \"C-g\""
:init-value nil
:lighter " hu"
:keymap hum/hide-unmatched-lines-mode-map
(if mc-hide-unmatched-lines-mode
;;just in case if mc mode will be disabled while hide-unmatched-lines is active
(progn
(hum/hide-unmatched-lines)
(add-hook 'multiple-cursors-mode-disabled-hook #'hum/disable-hum-mode t t))
(progn
(hum/unhide-unmatched-lines)
(remove-hook 'multiple-cursors-mode-disabled-hook #'hum/disable-hum-mode))))