fn commit( project: Option<RwSignal<Option<EditProject>>>, history: Option<StoredValue<Option<History>>>, edit: impl FnOnce(&mut CursorConfig), )