Make new documents empty, rather than starting with a line ending.
This commit is contained in:
parent
22dca3b111
commit
7961a13007
1 changed files with 1 additions and 1 deletions
|
@ -1036,7 +1036,7 @@ impl Document {
|
|||
|
||||
impl Default for Document {
|
||||
fn default() -> Self {
|
||||
let text = Rope::from(DEFAULT_LINE_ENDING.as_str());
|
||||
let text = Rope::from("");
|
||||
Self::from(text, None)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue