Make new documents empty, rather than starting with a line ending.

imgbot
Nathan Vegdahl 3 years ago
parent 22dca3b111
commit 7961a13007

@ -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…
Cancel
Save