From 2312c36310f62e6219e7992a7d2f85a8bd8e3418 Mon Sep 17 00:00:00 2001 From: StaffEngineer <velo.app1@gmail.com> Date: Sat, 23 Sep 2023 23:32:36 +0100 Subject: [PATCH] Setting text is done via CosmicText component! --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index a541969..8bf8f81 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -70,7 +70,7 @@ pub struct ReadOnly; // tag component pub struct CosmicEditor(pub Editor); impl CosmicEditor { - pub fn set_text( + fn set_text( &mut self, text: CosmicText, attrs: AttrsOwned, -- GitLab