Function: mc/make-cursor-overlay-inline

mc/make-cursor-overlay-inline is a natively compiled function defined in multiple-cursors-core.el.

Signature

(mc/make-cursor-overlay-inline POS)

Documentation

Create overlay to look like cursor inside text.

Source Code

;; Defined in /nix/store/5q7a78ihkz25lf4xmxaa9m7b2ym63m36-emacs-packages-deps/share/emacs/site-lisp/elpa/multiple-cursors-20260419.931/multiple-cursors-core.el
(defun mc/make-cursor-overlay-inline (pos)
  "Create overlay to look like cursor inside text."
  (let ((overlay (make-overlay pos (1+ pos) nil nil nil)))
    (if (and mc/match-cursor-style (mc/cursor-is-bar))
  (overlay-put overlay 'before-string (propertize "|" 'face 'mc/cursor-bar-face))
      (overlay-put overlay 'face 'mc/cursor-face))
    overlay))