From d15c875214d2147bf9bdf03ef3445752476d14b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Hrastnik?= Date: Thu, 31 Mar 2022 15:58:52 +0900 Subject: [PATCH] Add a TODO for the future --- helix-term/src/commands.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 3ef72bde8..320bfc94e 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1350,6 +1350,7 @@ fn copy_selection_on_line(cx: &mut Context, direction: Direction) { range.head }; + // TODO: this should use visual offsets / pos_at_screen_coords let head_pos = coords_at_pos(text, head); let anchor_pos = coords_at_pos(text, range.anchor);