3U6YMMN2GMRL27TLPE7V3KUGM6MI2L3SAQSNU6HMNRINVXVRL3QAC
GR4RROJFJOGM2WLQSVK5R5UYD7IK6ITF6UP5RVHAHD3J4OFJWGCAC
UAX3KJOIN3XBSLKP4IAWAWSCI3DLDKF22A6HRMGA4FHY3AS2QRVAC
KKMFQDR43ZWVCDRHQLWWX3FCWCFA3ZSXYOBRJNPHUQZR2XPKWULAC
GO534NHJW3FC4FNJXTA5QZYZJ5A7UHVTGPNB7G73GA2YJRX4D54AC
VPCPK52KMU4MZUXP4SUSJJDEHDR4C3KJ45HLMUQUK32FMY6OCQ4QC
JMUE7GSN6QDQZ6NDRB55MRJMKJN6LBD6MVQPKROYPDOIXM7I3XNQC
AHOO2ILEJWTPCYHJH26WAF7A4YYVMHFX4UWHSAAAMHI73TSQZ6CAC
37AATGG5QIXOBXWA3DMSVMIIDSULA36NPETHOYZIOZ4G4RZLMHCAC
KTABGWEVR6D5KLOCVAOUDNQMRB3BUFU4GTR3OIAWLJSIPIG6G46QC
if pane.column_index == 1 and pane.pane_index == 1 then
print('draw', pane.id, 'from y', pane.top, 'down to screen height', App.screen.height)
print('screen top', pane.screen_top1.line, pane.screen_top1.pos)
print('cursor', pane.cursor1.line, pane.cursor1.pos)
end
--? if pane.column_index == 1 and pane.pane_index == 1 then
--? print('draw', pane.id, 'from y', pane.top, 'down to screen height', App.screen.height)
--? print('screen top', pane.screen_top1.line, pane.screen_top1.pos)
--? print('cursor', pane.cursor1.line, pane.cursor1.pos)
--? end
print('bring_in_view: viewport before', Display_settings.x, Display_settings.y)
print('bring_in_view: pane before', pane.screen_top1.line, pane.screen_top1.pos, pane.cursor1.line, pane.cursor1.pos)
--? print('bring_in_view: viewport before', Display_settings.x, Display_settings.y)
--? print('bring_in_view: pane before', pane.screen_top1.line, pane.screen_top1.pos, pane.cursor1.line, pane.cursor1.pos)
print('bring_in_view: pane starts at', up_edge_sy(Cursor_pane.col, Cursor_pane.row))
print('bring_in_view: cursor line contains ^'..pane.lines[pane.cursor1.line].data..'$')
print('bring_in_view: cursor is at', y_of_schema1(pane, pane.cursor1), 'from top of pane')
--? print('bring_in_view: pane starts at', up_edge_sy(Cursor_pane.col, Cursor_pane.row))
--? print('bring_in_view: cursor line contains ^'..pane.lines[pane.cursor1.line].data..'$')
--? print('bring_in_view: cursor is at', y_of_schema1(pane, pane.cursor1), 'from top of pane')
print('=>', Display_settings.y)
print('cursor now at ', cursor_sy - Display_settings.y)
print('viewport height', App.screen.height)
print('cursor row starts', App.screen.height - (cursor_sy-Display_settings.y), 'px above bottom of viewport') -- totally wrong
-- Bah, temporarily giving up on debugging.
Display_settings.y = Display_settings.y + Line_height
--? print('=>', Display_settings.y)
--? print('cursor now at ', cursor_sy - Display_settings.y)
--? print('viewport height', App.screen.height)
--? print('cursor row starts', App.screen.height - (cursor_sy-Display_settings.y), 'px above bottom of viewport') -- totally wrong