end
end
function keychord_pressed_on_editable_pane(pane, chord, key)
if chord == 'C-e' then
command.exit_editing()
elseif pane.cursor_x == nil then
-- ignore if cursor is not visible on screen
assert(pane.cursor_y == nil)
panning_keychord_pressed(chord, key)
else
--? print(('%s pressed in editor pane'):format(chord))
--? print(pane.cursor_x, pane.cursor_y)
local old_top = {line=pane.screen_top1.line, pos=pane.screen_top1.pos}
edit.keychord_pressed(pane, chord, key)
maybe_update_screen_top_of_cursor_pane(pane, old_top)
pane._height = nil