Fix indentation test fixture borrowing and focus trait import

This commit is contained in:
2026-09-22 12:02:29 -07:00
parent 836f9e14e7
commit 4ffff0d9d9
2 changed files with 2 additions and 1 deletions
@@ -5,7 +5,7 @@ fn fixture(source: &str) -> App {
let mut app = App::with_project(Project::empty()); let mut app = App::with_project(Project::empty());
app.page = Page::Text; app.page = Page::Text;
app.source_workspace = Workspace::new( app.source_workspace = Workspace::new(
oa_core::source_project::SourceBundle { &oa_core::source_project::SourceBundle {
entry: "project.arcadia".into(), entry: "project.arcadia".into(),
files: std::collections::BTreeMap::from([("project.arcadia".into(), source.into())]), files: std::collections::BTreeMap::from([("project.arcadia".into(), source.into())]),
}, },
@@ -1,5 +1,6 @@
//! Real mounted Iced keyboard dispatch, using the production binding function. //! Real mounted Iced keyboard dispatch, using the production binding function.
use crate::{app::Message, source_navigation::SymbolContext, views::source_tests::FontLayout}; use crate::{app::Message, source_navigation::SymbolContext, views::source_tests::FontLayout};
use iced::advanced::widget::operation::Focusable;
use iced::{ use iced::{
Element, Font, Rectangle, Size, Element, Font, Rectangle, Size,
advanced::{Layout, Shell, layout, text, widget as core_widget}, advanced::{Layout, Shell, layout, text, widget as core_widget},