Function: dape--indicator
dape--indicator is a natively compiled function defined in dape.el.
Signature
(dape--indicator STRING BITMAP FACE)
Documentation
Return indicator string in margin (STRING) or fringe (BITMAP).
The indicator is propertized with with FACE.
Source Code
;; Defined in /nix/store/1fiaif8pifqj2jh65rbg3fkhg3i56q42-emacs-packages-deps/share/emacs/site-lisp/elpa/dape-0.27.1/dape.el
(defun dape--indicator (string bitmap face)
"Return indicator string in margin (STRING) or fringe (BITMAP).
The indicator is `propertize'd with with FACE."
(if (and (window-system)
(not (eql (frame-parameter (selected-frame) 'left-fringe) 0)))
(propertize " " 'display `(left-fringe ,bitmap ,face))
(setq-local dape--original-margin (or dape--original-margin
left-margin-width)
left-margin-width 2)
(when-let* ((window (get-buffer-window (current-buffer))))
(set-window-margins window left-margin-width))
(propertize " " 'display
`((margin left-margin) ,(propertize string 'face face)))))