Fork of lines.love without drawings; useful starting point for further forks

snapshot for a bugfix

Scenario: grab a pane, then search the surface for some text that takes the pane out of the viewport.

Searching clears all line_cache arrays all across the surface. plan_draw only brings back line_cache for panes that intersect with the viewport, but it doesn't take the grab pane. Boom.

This was hard to understand because I forgot for the umpteenth time where I'm undoing clean_up_panes. Hopefully this organization will make it easier to remember the complexities and why I can't just call Text.redraw_all() in plan_draw().

Created by  Kartik K. Agaram  on December 18, 2022
AEIAYEN3YCCNVDKAQSFBJW75DAUQOJKNIP7JDO34CJ67V34PDK3QC
Change contents