This will help us adjust it for a single pane being edited.
UGEB2N5EVBSHMMJNDKYEHFYH2HHXEHJK3UWSXZB4BCVQR2N65OAAC
PLAUXHMHVCNRC4IIAZ2YHFFQWAL5KXC37SMGZJBD4XKSP2PJFSKAC
F5FZLXTS63V6GG6RMKSZS3X4BPADVZY436VGVYKHALTIYUB6M65QC
IGYF6FQOON2BT5JFBELGFN2AGELRISIGNOXKWKD2DY5P5BXEDTOAC
L2R5WULWN44SCNUPP7R7I2AQCWQR6D3E2YZA35RBXZAR2LGC6LQQC
J3ER7DFO2TXYUMJAXZUFEHQNLFDNIXSYDTE7HEFGQ2RYB3A6RFPAC
OTIBCAUJ3KDQJLVDN3A536DLZGNRYMGJLORZVR3WLCGXGO6UGO6AC
CZY3IDERLI6MTKKKMX6QLLERSPM2ZJ57NGQRKILJBM7S5PYPQ3XAC
5U5N3KZY7HZB4YV3UBFO7ZZJLIJUWLKYDSHZXJVWOB36T2M2HWGQC
VHWC2IGQD72ZZUIONIAEP45KPMPX2N6DXN6NU2QGBIWDUHP7INAAC
SKMUH5RWOBUHRAQ3TUEIH5EEHN3YOC35GJOJY7GPY7VY6QXLSODAC
X22MOJHFLXMZQJN4IP2HAXIIVD2ALPR4EO5V5YDYF6QPXS7ZNB6QC
SYS77RM72TL7SLUQIJBN6D7DI5I6HSHCHXLPXREPADUNBBFM5TYAC
7AKT7IKOP6VQW3CABAVXCEZTHYNAETVXGFIQWB2L6I7LM7T57HAAC
TZ3ZNGRMZ3DG33VVEZI74W5W5T73JYMEIYQ3SO6Y4A6FN3OUZIKQC
if overlap(sy, sy + Margin_above + Cache[pane.id].height + Margin_below, Display_settings.y, Display_settings.y + App.screen.height) then
if overlap(sy, sy + Margin_above + pane.height + Margin_below, Display_settings.y, Display_settings.y + App.screen.height) then
--? print('', pane_index, pane.id, 'of height', Cache[pane.id].height)
if overlap(sy, sy + Margin_above + Cache[pane.id].height + Margin_below, Display_settings.y, Display_settings.y + App.screen.height) then
--? print('', pane_index, pane.id, 'of height', pane.height)
if overlap(sy, sy + Margin_above + pane.height + Margin_below, Display_settings.y, Display_settings.y + App.screen.height) then