(ctx: &mut ScriptContext<'_, API>, view: &EditorView)
| 290 | set_button_fill( |
| 291 | ctx, |
| 292 | "distraction_free_button", |
| 293 | if view.distraction_free { theme::ACCENT } else { theme::BG_WIDGET }, |
| 294 | ); |
| 295 | set_label( |
| 296 | ctx, |
| 297 | "project_status", |
| 298 | &format!("{} {}", view.project_name, view.project_root), |
| 299 | ); |
| 300 | set_label(ctx, "status_bar", &view.status); |
| 301 | set_label(ctx, "log_text", &view.log); |
| 302 | set_label(ctx, "bottom_log_label", &format!("Output {}", view.output_count)); |
no test coverage detected