Skip to main content

register_diff_modeline_element

Function register_diff_modeline_element 

Source
pub fn register_diff_modeline_element(svc: &ModelineService)
Expand description

Register the diff modeline descriptor (ML.3). Scope::Global: the active document’s session sign-map is a single shared value, so the summary renders on the active pane’s modeline (the renderer gates Global elements to the active pane, modeline.md §7) — there is no distinct per-side count to show. Content is computed host-side on the actor (where the sign map already lives, sync_diff_modeline_element) rather than counted on the render thread (paramount #1). Left zone, after core.path.