One issue: it's too similar to the menu/palette. Perhaps we should find a new color for the latter.
MSB47AAAQZMIWQSHDEVY2QYYG26LMFY5TFYOP54YRKCKAP7U6M3AC
{"on_handle":547,"definition_background_color":859,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":854,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":855,"Manifest":769,"B":830,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"Test_definition_background_color":858,"draw_cursor":639,"Definition_background_color":849,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":858,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}
definition_background_color = function(name)
if starts_with(name, 'test_') then
return Test_definition_background_color
else
return Definition_background_color
end
end
{"on_handle":547,"definition_background_color":857,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":854,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":855,"Manifest":769,"B":830,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"Test_definition_background_color":858,"draw_cursor":639,"Definition_background_color":849,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":857,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}
Test_definition_background_color = {r=0.7,g=0.9,b=0.7}
{"on_handle":547,"definition_background_color":857,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":854,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":855,"Manifest":769,"B":830,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"Test_definition_background_color":852,"draw_cursor":639,"Definition_background_color":849,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":856,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}
definition_background_color = function(name)
if starts_with(name, 'test_') then
return Test_definition_background_color
else
return Definition_background_color
end
end
{"on_handle":547,"definition_background_color":856,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":854,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":855,"Manifest":769,"B":830,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"Test_definition_background_color":852,"draw_cursor":639,"Definition_background_color":849,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":855,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}
definition_background_color = function(name)
print('definition_background_color', name)
if starts_with(name, 'test_') then
return Test_definition_background_color
else
return Definition_background_color
end
end
on.text_input = function(t)
print('text input', t)
if Manifest_navigator.show then
text_input_on_manifest_navigator(t)
elseif Cursor_node then
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.text_input(Cursor_node.editor, t)
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)
Cursor_node.bg = definition_background_color(definition_name)
B(--[[preserve screen_top of cursor node]] true)
end
end
{"on_handle":547,"definition_background_color":853,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":854,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":855,"Manifest":769,"B":830,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"Test_definition_background_color":852,"draw_cursor":639,"Definition_background_color":849,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":854,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}
load_definition = function(name)
move_candidate_to_front_of_manifest(name)
if Cursor_node then
Cursor_node.show_cursor = false
end
-- just one copy per definition for now
if Definitions[name] == nil then
Definitions[name] = {
type='text',
data=load_from_iterator(get_definition_from_app(name):gmatch("[^\r\n]+")),
x=0, y=0,
width=600,
bg=definition_background_color(name),
}
end
Viewport.x = Definitions[name].x-30
Viewport.y = Definitions[name].y-30
Cursor_node = Definitions[name]
Cursor_node.show_cursor = true
end
{"on_handle":547,"definition_background_color":853,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":854,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":834,"Manifest":769,"B":830,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"Test_definition_background_color":852,"draw_cursor":639,"Definition_background_color":849,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":853,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}
{"on_handle":547,"definition_background_color":853,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":716,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":834,"Manifest":769,"B":830,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"Test_definition_background_color":852,"draw_cursor":639,"Definition_background_color":849,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":852,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}
definition_background_color = function(name)
if starts_with(name, 'test_') then
return Test_definition_background_color
else
return Definition_background_color
end
end
{"on_handle":547,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":716,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":834,"Manifest":769,"B":830,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"Test_definition_background_color":852,"draw_cursor":639,"Definition_background_color":849,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":851,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}
Test_definition_background_color = {r=0.7,g=1,b=0.7}
{"on_handle":547,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":716,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":834,"Manifest":769,"B":830,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"draw_cursor":639,"Definition_background_color":849,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":850,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}
{"on_handle":547,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":716,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":834,"Manifest":769,"B":830,"Test_definition_color":850,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"draw_cursor":639,"Definition_background_color":849,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":849,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}
Test_definition_color = {r=0.7,g=1,b=0.7}
{"on_handle":547,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":716,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":834,"Manifest":769,"B":830,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"draw_cursor":639,"Definition_background_color":849,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":848,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}
Definition_background_color = {r=0.7, g=0.7, b=1}
new_definition = function()
if Cursor_node then
Cursor_node.show_cursor = false
end
table.insert(Definitions, {
type='text',
data={''},
x=Spawn_point.x, y=Spawn_point.y,
width=600,
bg=Definition_background_color,
})
Viewport.x = Spawn_point.x-30
Viewport.y = Spawn_point.y-30
Cursor_node = Definitions[#Definitions]
Cursor_node.show_cursor = true
end
{"on_handle":547,"draw_run_time_error":808,"survey_animation":847,"sx":544,"animate_next":841,"on.update":835,"load_definition":716,"on.keychord_press":828,"animate_next_frame":825,"box_height":680,"schema1_of_y":667,"on.save_settings":742,"surface_bounds":814,"Ticks_font":669,"y_of_schema1":364,"set_mouse_cursor":562,"font":353,"table_and_array_both_empty":689,"Spawn_point":822,"from_viewport":823,"load_manifest":694,"interpolate_viewport":843,"order_of_magnitude":573,"on.text_input":834,"Manifest":769,"B":830,"on.code_change":820,"get_manifest":768,"Cursor_node":172,"manifest_index":637,"approximate_up":658,"manifest_navigator_candidates":638,"Num_animation_frames":840,"new_definition":848,"add_thick_line":400,"update_editor_box":711,"copy_shape":396,"sy":469,"draw_manifest_navigator":677,"on.mouse_press":722,"Surface":422,"draw_cursor":639,"Viewport":604,"add_hotkey_to_menu":616,"load_from_iterator":670,"on_text":539,"get_definition_from_app":784,"draw_ticks":844,"approximate":579,"tick_spec":660,"Menu_background_color":611,"add_def_to_menu":640,"Menu_border_color":612,"vy":546,"Menu_command_color":613,"Mouse_cursor":559,"Menu_highlight_color":614,"mouse_cursor":558,"draw_menu_bar":641,"on.load_settings":782,"num_lines_for_manifest_navigator":676,"initialize_editor":678,"Page":475,"on.code_submit":787,"Manifest_navigator":495,"fw_app":"driver","line_height":365,"on.initialize":807,"Definitions":503,"delete_definition":673,"keychord_press_on_manifest_navigator":765,"initialize_manifest_navigator":773,"maybe_update_key_in_definitions":529,"manifest_navigator_up":628,"get_multiple_definitions_from_app":783,"manifest_navigator_down":635,"on":1,"compute_layout":385,"on.key_release":720,"move_candidate_to_front_of_manifest":632,"Animating":842,"wait_for_response":781,"text_input_on_manifest_navigator":634,"fw_parent":847,"A":831,"manifest_coord":636,"scale":712,"on.mouse_release":836,"reset_manifest_navigator":772,"on.draw":797,"vx":545}