5TTD5NPQPH2XMC552EMPP4WY7GVHR3RM5LCVZWXBQXOOACZMTUNAC
R5HNWYMH47LWVHS5VVXNR6TCBDXDURVXZ6RCUNFTTTMIXF275ULQC
QAPYL6SQYUGBYN7EXAUTLJQALCAMAMDM3KKWIP2JGDQRMMLIQS7QC
5HBC66CSFQ257TO3DJYBUNKE5RKR47CUJNMYP6Y4F7T6W7LNRV4AC
R5QXEHUIZLELJGGCZAE7ATNS3CLRJ7JFRENMGH4XXH24C5WABZDQC
XBOQIWITIRSZWIS2UKUFR6L45GLKTIZAXY4SEBS2OWBF6Q5CHRBQC
2L5MEZV344TOZLVY3432RHJFIRVXFD6O3GWLL5O4CV66BGAFTURQC
BF7TW3EKRIDYC6J2Q2J4YOBAVQF55Y3H6KGZIHNXMH4N72MR6GXQC
CWDOQLMNGY6BP3QCSQCQ7NG5XZN3QIKPZ5YMQHS3AC53J6QZ5RUQC
7TQAF4BYIK75EEYCCK7VEUSZHNCWMWIA3HZGQKIILYESUZ5ZZRVQC
submit_definition = function(State)
State.load_time_error = nil
live.send_definition_to_app(State)
while true do
local response_string = live.receive_from_app()
if response_string then
Client_app_test_failures = json.decode(response_string)
break
end
if live.receive_run_time_error_from_app() then
break
end
love.timer.sleep(0.001)
end
if Load_time_error then
State.load_time_error = Load_time_error
Load_time_error = nil
end
if on.code_submit then on.code_submit(State) end
end
if chord == 'f4' then
submit_definition(Cursor_node.editor)
local old_top = {line=Cursor_node.editor.screen_top1.line, pos=Cursor_node.editor.screen_top1.pos}
local old_definition_name = live.get_cmd_from_buffer(Cursor_node.editor.lines[1].data)
edit.keychord_press(Cursor_node.editor, chord, key)
if not eq(Cursor_node.editor.screen_top1, old_top) then
Viewport.y = Cursor_node.y + y_of_schema1(Cursor_node.editor, Cursor_node.editor.screen_top1)
end
local definition_name = live.get_cmd_from_buffer(Cursor_node.editor.lines[1].data)
maybe_update_key_in_definitions(old_definition_name, definition_name, Cursor_node)
if chord == 'return' then
A(--[[preserve screen_top of cursor node]] true)
else
B(--[[preserve screen_top of cursor node]] true)
end