Fix wrapped lines not being considered when measuring TextEditor
This commit is contained in:
parent
8b492a9b44
commit
2ba73b0faf
5 changed files with 38 additions and 22 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue