From 0800515c04ba52b5b31c43d326bd590fe6cb5954 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 7 Feb 2022 13:57:25 +0100 Subject: grid: reflow: add TODO to detect selection on re-used rows, and cancel it --- grid.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'grid.c') diff --git a/grid.c b/grid.c index 844ea90c..5a0b5c7e 100644 --- a/grid.c +++ b/grid.c @@ -482,6 +482,13 @@ _line_wrap(struct grid *old_grid, struct row **new_grid, struct row *row, tll_remove(old_grid->sixel_images, it); } } + + /* + * TODO: detect if the re-used row is covered by the + * selection. Of so, cancel the selection. The problem: we + * don’t know if we’ve translated the selection coordinates + * yet. + */ } struct row_data *extra = row->extra; -- cgit v1.3