scenario: press page-up when leftmost page is at top of file
UJKBKUX3Q3FFCGIZB3P57Q2RM32CA6I3Q5OPHLR3LAE5RNFVAQRQC on.keychord_press = function(chord, key)assert(#Editors > 0)if chord == 'C-0' theninitialize_editors( --[[font height]] 20, Editors[1].filename, Editors[1].screen_top1)elseif chord == 'C-=' theninitialize_editors(Editors[1].font_height+2, Editors[1].filename, Editors[1].screen_top1)elseif chord == 'C--' theninitialize_editors(Editors[1].font_height-2, Editors[1].filename, Editors[1].screen_top1)elseif chord == 'C-f' or chord == 'backspace' or chord == 'return' then-- find in just the left-most pane for nowedit.keychord_press(Editors[1], chord, key)elseif chord == 'pageup' or chord == 'pagedown' thenedit.keychord_press(Editors[1], chord, key)resync_editors()endend
{"on.mouse_release":59,"resync_editors":70,"on.resize":98,"initialize_editors":96,"on.save_settings":88,"on.draw":60,"Font_height":86,"Editors":6,"on.load_settings":95,"on":1,"Filename":85,"on.keychord_press":99,"on.key_release":15,"Screen_top":87,"fw_parent":98,"fw_app":"broadsheet","on.text_input":69,"on.mouse_press":63,"Cursor_editor":16,"on.initialize":94}