Make unrendered editors' behaviour a bit more sane

In practice, this doesn't really matter anyways.
This commit is contained in:
Joscha 2022-08-20 16:25:46 +02:00
parent cf086b6065
commit fe381e1146

View file

@ -49,7 +49,7 @@ impl InnerEditorState {
Self { Self {
idx: text.len(), idx: text.len(),
col: 0, col: 0,
last_width: 0, last_width: u16::MAX,
text, text,
} }
} }