pub fn surface(
focus: &FocusHandle,
doc: &Doc,
selection: Option<Selection>,
cx: &mut App,
) -> DivExpand description
Wrap selectable content with focus-on-click and platform copy shortcuts.
Rebuild when the document or selection changes. Keep focus stable per surface.