From 5772c4327e7121c53ea0726a4d7333ae1c413ffb Mon Sep 17 00:00:00 2001 From: Kyle Smith Date: Wed, 1 Feb 2023 08:23:06 -0500 Subject: [PATCH] remove some debug logging --- helix-term/src/commands/typed.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/helix-term/src/commands/typed.rs b/helix-term/src/commands/typed.rs index 43efea05a..4c0896462 100644 --- a/helix-term/src/commands/typed.rs +++ b/helix-term/src/commands/typed.rs @@ -1412,15 +1412,9 @@ fn tutor( fn undo_goto_line_number_preview(cx: &mut compositor::Context) { if cx.editor.goto_line_number_preview { - log::info!("undoing goto_line_number preview, jumping backwards"); - // if let Some(line_number) = cx.editor.last_line_number { - // goto_line_without_jumplist(cx.editor, NonZeroUsize::new(line_number)); - // Remove the jump we added during the preview session. jump_backward_impl(cx.editor, 1); - // let (view, doc) = current!(cx.editor); - // view.ensure_cursor_in_view(doc, line_number); cx.editor.goto_line_number_preview = false; } }