MCPcopy Create free account
hub / github.com/encounter/objdiff / extab_ui

Function extab_ui

objdiff-gui/src/views/extab_diff.rs:49–65  ·  view source on GitHub ↗
(
    ui: &mut egui::Ui,
    ctx: FunctionDiffContext<'_>,
    appearance: &Appearance,
    _column: usize,
)

Source from the content-addressed store, hash-verified

47}
48
49pub(crate) fn extab_ui(
50 ui: &mut egui::Ui,
51 ctx: FunctionDiffContext<'_>,
52 appearance: &Appearance,
53 _column: usize,
54) {
55 ScrollArea::both().auto_shrink([false, false]).show(ui, |ui| {
56 ui.scope(|ui| {
57 ui.style_mut().override_text_style = Some(egui::TextStyle::Monospace);
58 ui.style_mut().wrap_mode = Some(egui::TextWrapMode::Extend);
59
60 if let Some(symbol_index) = ctx.symbol_ref {
61 extab_text_ui(ui, ctx, symbol_index, appearance);
62 }
63 });
64 });
65}

Callers 1

diff_col_uiFunction · 0.85

Calls 1

extab_text_uiFunction · 0.85

Tested by

no test coverage detected