@@ -888,21 +888,6 @@ fn search_selection(cx: &mut Context) {
891−fn select_line(cx: &mut Context) {
892− let count = cx.count();
893− let (view, doc) = current!(cx.editor);
895− let pos = doc.selection(view.id).primary();
896− let text = doc.text();
898− let line = text.char_to_line(pos.head);
899− let start = text.line_to_char(line);
901− .line_to_char(std::cmp::min(doc.text().len_lines(), line + count))
904− doc.set_selection(view.id, Selection::single(start, end));
906fn extend_line(cx: &mut Context) {
891fn extend_line(cx: &mut Context) {
907 let count = cx.count();
892 let count = cx.count();
908 let (view, doc) = current!(cx.editor);
893 let (view, doc) = current!(cx.editor);