From 38d7bbe3914da3490bf9abc33ef843a9912c32c4 Mon Sep 17 00:00:00 2001 From: Daniel McNab <36049421+DJMcNab@users.noreply.github.com> Date: Fri, 13 Dec 2024 09:23:34 +0000 Subject: [PATCH] Fix sentence fragment --- masonry/src/contexts.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/masonry/src/contexts.rs b/masonry/src/contexts.rs index 81f94b3c7..da78ce259 100644 --- a/masonry/src/contexts.rs +++ b/masonry/src/contexts.rs @@ -227,9 +227,11 @@ impl_context_method!( PaintCtx<'_>, UpdateCtx<'_>, { - /// Get the contexts needed to build and paint text sections. + /// Get the Parley contexts needed to build and paint text sections. /// - /// Note that in many cases, these contexts are. + /// Note that most users should embed the [`Label`](crate::widget::Label) widget as a child + /// for non-interactive text. + /// These contexts could however be useful for custom text editing, such as for rich text editing. pub fn text_contexts(&mut self) -> (&mut FontContext, &mut LayoutContext) { ( &mut self.global_state.font_context,