KNIWRJUPMICZHFGJSACTP4JER56PCKEBVNGDTVKCK7B4YT6IDC3AC
on.code_submit = function(editor)
if not editor.load_time_error then
Manifest_navigator.reload = true
end
-- update definition backgrounds of failing tests
for name,node in pairs(Definitions) do
if starts_with(name, 'test_') then
if Client_app_test_failures[name] then
node.bg = Failing_test_definition_background_color
else
node.bg = Test_definition_background_color
end
end
end
A()
end
{"on.code_change":924,"load_from_iterator":670,"add_thick_line":400,"get_definition_from_app":784,"Definitions":503,"Zoomed_out":869,"manifest_navigator_up":628,"Manifest":769,"manifest_navigator_down":635,"zoom_in":920,"delete_definition":673,"get_manifest":768,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"maybe_update_key_in_definitions":529,"manifest_coord":636,"new_definition":848,"manifest_navigator_candidates":638,"fw_app":"driver","add_def_to_menu":640,"on.draw":917,"Cursor_node":172,"Failing_test_definition_background_color":925,"on_handle":547,"on.code_submit":927,"on":1,"on_text":539,"on.mouse_press":916,"tick_spec":660,"on.keychord_press":919,"get_multiple_definitions_from_app":783,"schema1_of_y":667,"vx":545,"wait_for_response":781,"copy_viewport":866,"zoom_out":908,"on.load_settings":782,"Surface":422,"mouse_cursor":558,"line_height":365,"Mouse_cursor":559,"Menu_highlight_color":614,"Save_viewport":865,"sx":544,"set_mouse_cursor":562,"box_height":680,"Viewport":604,"font":353,"on.key_release":720,"vy":546,"on.save_settings":742,"initialize_manifest_navigator":773,"scale":712,"on.initialize":807,"survey_animation":906,"load_definition":854,"animate_next":914,"Ticks_font":669,"table_and_array_both_empty":689,"approximate":579,"Page":475,"order_of_magnitude":573,"animate_next_frame":915,"update_editor_box":711,"load_manifest":694,"draw_ticks":862,"A":831,"fw_parent":926,"Manifest_navigator":495,"Num_animation_frames":840,"sy":469,"surface_bounds":814,"y_of_schema1":364,"compute_layout":385,"copy_shape":396,"manifest_index":637,"draw_cursor":639,"undo_zoom_out":921,"on.mouse_release":836,"Definition_background_color":849,"Menu_command_color":613,"Spawn_point":822,"Menu_background_color":611,"from_viewport":823,"Test_definition_background_color":858,"interpolate_viewport":843,"definition_background_color":859,"initialize_editor":678,"approximate_up":658,"Animating":842,"draw_menu_bar":861,"on.text_input":855,"add_hotkey_to_menu":616,"B":830,"Menu_border_color":612,"draw_manifest_navigator":677,"on.update":900,"num_lines_for_manifest_navigator":676,"snapshot_canvas":913,"draw_run_time_error":808,"reset_manifest_navigator":772}
on.code_submit = function(editor)
if not editor.load_time_error then
Manifest_navigator.reload = true
end
-- update definition backgrounds of failing tests
for name,node in pairs(Definitions) do
if starts_with(name, 'test_') then
if Client_app_test_failures[name] then
node.bg = Failing_test_definition_background_color
else
node.bg = Test_definition_background_color
end
end
end
end
{"on.code_change":924,"load_from_iterator":670,"add_thick_line":400,"get_definition_from_app":784,"Definitions":503,"Zoomed_out":869,"manifest_navigator_up":628,"Manifest":769,"manifest_navigator_down":635,"zoom_in":920,"delete_definition":673,"get_manifest":768,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"maybe_update_key_in_definitions":529,"manifest_coord":636,"new_definition":848,"manifest_navigator_candidates":638,"fw_app":"driver","add_def_to_menu":640,"on.draw":917,"Cursor_node":172,"Failing_test_definition_background_color":925,"on_handle":547,"on.code_submit":926,"on":1,"on_text":539,"on.mouse_press":916,"tick_spec":660,"on.keychord_press":919,"get_multiple_definitions_from_app":783,"schema1_of_y":667,"vx":545,"wait_for_response":781,"copy_viewport":866,"zoom_out":908,"on.load_settings":782,"Surface":422,"mouse_cursor":558,"line_height":365,"Mouse_cursor":559,"Menu_highlight_color":614,"Save_viewport":865,"sx":544,"set_mouse_cursor":562,"box_height":680,"Viewport":604,"font":353,"on.key_release":720,"vy":546,"on.save_settings":742,"initialize_manifest_navigator":773,"scale":712,"on.initialize":807,"survey_animation":906,"load_definition":854,"animate_next":914,"Ticks_font":669,"table_and_array_both_empty":689,"approximate":579,"Page":475,"order_of_magnitude":573,"animate_next_frame":915,"update_editor_box":711,"load_manifest":694,"draw_ticks":862,"A":831,"fw_parent":925,"Manifest_navigator":495,"Num_animation_frames":840,"sy":469,"surface_bounds":814,"y_of_schema1":364,"compute_layout":385,"copy_shape":396,"manifest_index":637,"draw_cursor":639,"undo_zoom_out":921,"on.mouse_release":836,"Definition_background_color":849,"Menu_command_color":613,"Spawn_point":822,"Menu_background_color":611,"from_viewport":823,"Test_definition_background_color":858,"interpolate_viewport":843,"definition_background_color":859,"initialize_editor":678,"approximate_up":658,"Animating":842,"draw_menu_bar":861,"on.text_input":855,"add_hotkey_to_menu":616,"B":830,"Menu_border_color":612,"draw_manifest_navigator":677,"on.update":900,"num_lines_for_manifest_navigator":676,"snapshot_canvas":913,"draw_run_time_error":808,"reset_manifest_navigator":772}
{"on.code_change":924,"load_from_iterator":670,"add_thick_line":400,"get_definition_from_app":784,"Definitions":503,"Zoomed_out":869,"manifest_navigator_up":628,"Manifest":769,"manifest_navigator_down":635,"zoom_in":920,"delete_definition":673,"get_manifest":768,"move_candidate_to_front_of_manifest":632,"keychord_press_on_manifest_navigator":765,"text_input_on_manifest_navigator":634,"maybe_update_key_in_definitions":529,"manifest_coord":636,"new_definition":848,"manifest_navigator_candidates":638,"fw_app":"driver","add_def_to_menu":640,"on.draw":917,"Cursor_node":172,"Failing_test_definition_background_color":925,"on_handle":547,"on.code_submit":787,"on":1,"on_text":539,"on.mouse_press":916,"tick_spec":660,"on.keychord_press":919,"get_multiple_definitions_from_app":783,"schema1_of_y":667,"vx":545,"wait_for_response":781,"copy_viewport":866,"zoom_out":908,"on.load_settings":782,"Surface":422,"mouse_cursor":558,"line_height":365,"Mouse_cursor":559,"Menu_highlight_color":614,"Save_viewport":865,"sx":544,"set_mouse_cursor":562,"box_height":680,"Viewport":604,"font":353,"on.key_release":720,"vy":546,"on.save_settings":742,"initialize_manifest_navigator":773,"scale":712,"on.initialize":807,"survey_animation":906,"load_definition":854,"animate_next":914,"Ticks_font":669,"table_and_array_both_empty":689,"approximate":579,"Page":475,"order_of_magnitude":573,"animate_next_frame":915,"update_editor_box":711,"load_manifest":694,"draw_ticks":862,"A":831,"fw_parent":924,"Manifest_navigator":495,"Num_animation_frames":840,"sy":469,"surface_bounds":814,"y_of_schema1":364,"compute_layout":385,"copy_shape":396,"manifest_index":637,"draw_cursor":639,"undo_zoom_out":921,"on.mouse_release":836,"Definition_background_color":849,"Menu_command_color":613,"Spawn_point":822,"Menu_background_color":611,"from_viewport":823,"Test_definition_background_color":858,"interpolate_viewport":843,"definition_background_color":859,"initialize_editor":678,"approximate_up":658,"Animating":842,"draw_menu_bar":861,"on.text_input":855,"add_hotkey_to_menu":616,"B":830,"Menu_border_color":612,"draw_manifest_navigator":677,"on.update":900,"num_lines_for_manifest_navigator":676,"snapshot_canvas":913,"draw_run_time_error":808,"reset_manifest_navigator":772}
Failing_test_definition_background_color = {r=1,g=0.7,b=0.7}