Builtin Library
README.md
selection_highlight
Mirrors the editor's entity selection onto the outline render feature as an
edit-only hint (the rim drops automatically when the world leaves edit mode).
Subscribes to the shared modules.api.editor.selection service's entity scope
and reconciles the outline sink so exactly the selected entities are rimmed.
Exports
M.reconcile(sink, ids)— pure: drivessink(set(id)/clear(id)) so exactlyidsare outlined, clearing anything previously set that is no longer selected. Only touches ids it owns.M.attach()— wirereconcileto the real selection scope (viaSelection.subscribe) and the real outline sink (outline.setEditorHint/outline.clear).
Notes
reconcileis pure so it can be unit-tested against a mock sink.