diff options
author | Blaž Hrastnik | 2022-03-31 06:58:52 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-03-31 06:59:09 +0000 |
commit | d15c875214d2147bf9bdf03ef3445752476d14b3 (patch) | |
tree | de04b0d98dc0aff7671f99a89cc8b7126c319550 /helix-term/src/commands.rs | |
parent | ab7885e93423dbfb57e2b6e7589672c67a4666e8 (diff) |
Add a TODO for the future
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r-- | helix-term/src/commands.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 3ef72bde..320bfc94 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); |