Make unrendered editors' behaviour a bit more sane
In practice, this doesn't really matter anyways.
This commit is contained in:
parent
cf086b6065
commit
fe381e1146
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue