summaryrefslogtreecommitdiffstats
path: root/widget/src/text_editor.rs
diff options
context:
space:
mode:
Diffstat (limited to 'widget/src/text_editor.rs')
-rw-r--r--widget/src/text_editor.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/widget/src/text_editor.rs b/widget/src/text_editor.rs
index fabcb744..0212a7a0 100644
--- a/widget/src/text_editor.rs
+++ b/widget/src/text_editor.rs
@@ -778,16 +778,16 @@ mod platform {
}
}
-/// The possible status of a [`TextInput`].
+/// The possible status of a [`TextEditor`].
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub enum Status {
- /// The [`TextInput`] can be interacted with.
+ /// The [`TextEditor`] can be interacted with.
Active,
- /// The [`TextInput`] is being hovered.
+ /// The [`TextEditor`] is being hovered.
Hovered,
- /// The [`TextInput`] is focused.
+ /// The [`TextEditor`] is focused.
Focused,
- /// The [`TextInput`] cannot be interacted with.
+ /// The [`TextEditor`] cannot be interacted with.
Disabled,
}
@@ -832,7 +832,7 @@ impl<Theme> From<fn(&Theme, Status) -> Appearance> for Style<Theme> {
}
}
-/// The default style of a [`TextInput`].
+/// The default style of a [`TextEditor`].
pub fn default(theme: &Theme, status: Status) -> Appearance {
let palette = theme.extended_palette();