Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sentence fragment #786

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions masonry/src/contexts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<BrushIndex>) {
(
&mut self.global_state.font_context,
Expand Down
Loading