MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / scrollable_code

Function scrollable_code

src/view/common/widgets.rs:35–43  ·  view source on GitHub ↗

Renders a pre-highlighted `LayoutJob` inside a scrollable area that is uniquely keyed to `panel_id` so multiple instances of the same view type never share scroll state.

(ui: &mut egui::Ui, panel_id: egui::Id, job: egui::text::LayoutJob)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

labelMethod · 0.45

Tested by

no test coverage detected