commit | e42a8e344c100267604dc3ea438020f6d27688ee | [log] [tgz] |
---|---|---|
author | gwenn <gtreguier@gmail.com> | Sun Feb 12 11:34:37 2017 +0100 |
committer | gwenn <gtreguier@gmail.com> | Sat Feb 25 10:56:57 2017 +0100 |
tree | 3dee9dbccec97717b608d36b4819946ef66d21c9 | |
parent | 2b323ddf037f5a147b918a47ac6ef0846dac861e [diff] |
Remove kill_whole_line function
diff --git a/src/line_buffer.rs b/src/line_buffer.rs index 5c7e76d..426c504 100644 --- a/src/line_buffer.rs +++ b/src/line_buffer.rs
@@ -248,12 +248,6 @@ } } - /// Kill all characters on the current line. - pub fn kill_whole_line(&mut self) -> Option<String> { - self.move_home(); - self.kill_line() - } - /// Kill the text from point to the end of the line. pub fn kill_line(&mut self) -> Option<String> { if !self.buf.is_empty() && self.pos < self.buf.len() {