Update dependencies

This commit is contained in:
Jeremy Soller 2025-03-31 09:16:20 -06:00
parent 98632f8747
commit 2fc1abe0b8
No known key found for this signature in database
GPG key ID: 670FDFB5428E05CA
4 changed files with 543 additions and 533 deletions

View file

@ -54,7 +54,7 @@ impl EditorTab {
buffer.set_text(
font_system().write().unwrap().raw(),
"",
attrs,
&attrs,
Shaping::Advanced,
);
@ -101,7 +101,7 @@ impl EditorTab {
let mut editor = self.editor.lock().unwrap();
let mut font_system = font_system().write().unwrap();
let mut editor = editor.borrow_with(font_system.raw());
match editor.load_text(&path, self.attrs) {
match editor.load_text(&path, self.attrs.clone()) {
Ok(()) => {
log::info!("opened {:?}", path);
self.path_opt = match fs::canonicalize(&path) {
@ -128,7 +128,7 @@ impl EditorTab {
let scroll = editor.with_buffer(|buffer| buffer.scroll());
//TODO: save/restore more?
match editor.load_text(path, self.attrs) {
match editor.load_text(path, self.attrs.clone()) {
Ok(()) => {
log::info!("reloaded {:?}", path);