@@ -888,21 +888,6 @@ fn search_selection(cx: &mut Context) {
888888
889889//
890890
891−fn select_line(cx: &mut Context) {
892− let count = cx.count();
893− let (view, doc) = current!(cx.editor);
894−
895− let pos = doc.selection(view.id).primary();
896− let text = doc.text();
897−
898− let line = text.char_to_line(pos.head);
899− let start = text.line_to_char(line);
900− let end = text
901− .line_to_char(std::cmp::min(doc.text().len_lines(), line + count))
902− .saturating_sub(1);
903−
904− doc.set_selection(view.id, Selection::single(start, end));
905−}
906891fn extend_line(cx: &mut Context) {
907892 let count = cx.count();
908893 let (view, doc) = current!(cx.editor);