Add comment
This commit is contained in:
parent
658a037ca7
commit
e95671f68f
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue