mirror of https://github.com/helix-editor/helix
Add a TODO for the future
parent
ab7885e934
commit
d15c875214
|
@ -1350,6 +1350,7 @@ fn copy_selection_on_line(cx: &mut Context, direction: Direction) {
|
||||||
range.head
|
range.head
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// TODO: this should use visual offsets / pos_at_screen_coords
|
||||||
let head_pos = coords_at_pos(text, head);
|
let head_pos = coords_at_pos(text, head);
|
||||||
let anchor_pos = coords_at_pos(text, range.anchor);
|
let anchor_pos = coords_at_pos(text, range.anchor);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue