Add comment

This commit is contained in:
Jeremy Soller 2022-11-08 13:22:39 -07:00
parent 658a037ca7
commit e95671f68f
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE

View file

@ -182,6 +182,7 @@ impl<'a> Editor<'a> {
// Get part of line after selection
let after = self.buffer.lines[end.line].split_off(end.index);
// Remove end line
self.buffer.lines.remove(end.line);
Some(after)