Simplify theming for TextEditor widget
This commit is contained in:
parent
69bc1df252
commit
68c8f23f02
5 changed files with 105 additions and 185 deletions
|
|
@ -224,7 +224,7 @@ pub fn text_editor<Message, Theme, Renderer>(
|
|||
) -> TextEditor<'_, core::text::highlighter::PlainText, Message, Theme, Renderer>
|
||||
where
|
||||
Message: Clone,
|
||||
Theme: text_editor::StyleSheet,
|
||||
Theme: text_editor::Style,
|
||||
Renderer: core::text::Renderer,
|
||||
{
|
||||
TextEditor::new(content)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue