(
ui: &mut egui::Ui,
ctx: FunctionDiffContext<'_>,
appearance: &Appearance,
_column: usize,
)
| 47 | } |
| 48 | |
| 49 | pub(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 | } |
no test coverage detected