on master help sign in
Add a TODO for the future
commitd15c875214d2147bf9bdf03ef3445752476d14b3 authorBlaž Hrastnik <blaz@mxxn.io> dateThu 31 Mar 2022, 15:58 (5 years ago) parentab7885e
1 file changed+1
helix-term/src/commands.rs+1
helix-term/src/commands.rs+1
@@ -1350,6 +1350,7 @@ fn copy_selection_on_line(cx: &mut Context, direction: Direction) {
13501350 range.head
13511351 };
13521352
1353+ // TODO: this should use visual offsets / pos_at_screen_coords
13531354 let head_pos = coords_at_pos(text, head);
13541355 let anchor_pos = coords_at_pos(text, range.anchor);
13551356