Fix wrapped lines not being considered when measuring TextEditor

This commit is contained in:
Héctor Ramón Jiménez 2024-02-07 21:48:28 +01:00
parent 8b492a9b44
commit 2ba73b0faf
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
5 changed files with 38 additions and 22 deletions

View file

@ -191,6 +191,7 @@ impl Application for Editor {
column![
controls,
text_editor(&self.content)
.height(Length::Fill)
.on_action(Message::ActionPerformed)
.highlight::<Highlighter>(
highlighter::Settings {