export entire TextView widget reference to the Search component

This commit is contained in:
yggverse 2024-12-17 02:13:47 +02:00
parent e0cb5d7a0f
commit 8b65df99f4
8 changed files with 52 additions and 43 deletions

View file

@ -575,7 +575,7 @@ impl Page {
};
// Update `find` model with new buffer
search.update(Some(text_widget.buffer));
search.update(Some(text_widget.text_view));
// Update page meta
meta.set_status(Status::Success)