Clean up leftover log.

This commit is contained in:
Jakub Bartodziej 2021-06-03 09:46:49 -04:00 committed by Blaž Hrastnik
parent 3c5dfb0633
commit 31ed4db153

View file

@ -762,7 +762,6 @@ fn _delete_selection(doc: &mut Document, view_id: ViewId) {
use std::cmp::{max, min};
let max_to = max(0, doc.text().len_chars() - 1);
let to = min(max_to, range.to() + 1);
log::info!("{} {} {}", max_to, to, doc.text().len_chars());
(range.from(), to, None)
});
doc.apply(&transaction, view_id);