RAEGXYHVWPWYHRMNVGFNDDK4LG4QCWPWLEV5OUIOKI7JEBSAYO7AC
{"on":1,"on.keychord_press":391,"Page":438,"on.text_input":388,"Cursor_node":172,"on.code_change":306,"A":433,"parent":438,"add_thick_line":400,"copy_shape":396,"B":379,"Viewport":439,"on.mouse_press":179,"on.draw":418,"scale":7,"update_editor_box":430,"y_of_schema1":364,"on.initialize":350,"line_height":365,"to_text":180,"box_height":345,"vy":8,"initialize_editor":338,"on.mouse_release":367,"schema1_of_y":366,"Surface":422,"vx":5,"on.update":368,"font":353,"compute_layout":385}
Viewport = {x=0, y=0, w=800,h=600, zoom=1.0}
{"on":1,"on.keychord_press":391,"Page":438,"on.text_input":388,"Cursor_node":172,"on.code_change":306,"A":433,"parent":437,"add_thick_line":400,"copy_shape":396,"B":379,"Viewport":303,"on.mouse_press":179,"on.draw":418,"scale":7,"update_editor_box":430,"y_of_schema1":364,"on.initialize":350,"line_height":365,"to_text":180,"box_height":345,"vy":8,"initialize_editor":338,"on.mouse_release":367,"schema1_of_y":366,"Surface":422,"vx":5,"on.update":368,"font":353,"compute_layout":385}
Page = {
-- page
type='cols', x=0, y=0,
width=800, data={
-- editor covering left side
{
type='text',
name='editor',
doc='prose goes here, on the left half of the window',
data={''},
width=400, bg={r=1,g=1,b=0},
},
},
}
{"on":1,"on.keychord_press":391,"Page":437,"on.text_input":388,"Cursor_node":172,"on.code_change":306,"A":433,"parent":436,"add_thick_line":400,"copy_shape":396,"B":379,"Viewport":303,"on.mouse_press":179,"on.draw":418,"scale":7,"update_editor_box":430,"y_of_schema1":364,"on.initialize":350,"line_height":365,"to_text":180,"box_height":345,"vy":8,"initialize_editor":338,"on.mouse_release":367,"schema1_of_y":366,"Surface":422,"vx":5,"on.update":368,"font":353,"compute_layout":385}
Page = {
-- page
type='cols', x=0, y=0,
width=800, data={
-- editor covering left side
{
type='text',
name='editor',
doc='prose goes here, on the left half of the window',
data={''},
width=400,
},
},
}
{"on":1,"on.keychord_press":391,"Page":436,"on.text_input":388,"Cursor_node":172,"on.code_change":306,"A":433,"parent":435,"add_thick_line":400,"copy_shape":396,"B":379,"Viewport":303,"on.mouse_press":179,"on.draw":418,"scale":7,"update_editor_box":430,"y_of_schema1":364,"on.initialize":350,"line_height":365,"to_text":180,"box_height":345,"vy":8,"initialize_editor":338,"on.mouse_release":367,"schema1_of_y":366,"Surface":422,"vx":5,"on.update":368,"font":353,"compute_layout":385}
Page = {
-- page
type='cols', x=0, y=0,
width=800, data={
-- editor covering left side
{
type='text',
name='editor',
doc='prose goes here, on the left half of the window',
data={
"Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
'1',
'2',
'3',
'mno',
'Acb',
'g',
'hij',
'klm',
'nop',
},
width=400, bg={r=1,g=1,b=0}
},
},
}
{"on":1,"on.keychord_press":391,"Page":435,"on.text_input":388,"Cursor_node":172,"on.code_change":306,"A":433,"parent":434,"add_thick_line":400,"copy_shape":396,"B":379,"Viewport":303,"on.mouse_press":179,"on.draw":418,"scale":7,"update_editor_box":430,"y_of_schema1":364,"on.initialize":350,"line_height":365,"to_text":180,"box_height":345,"vy":8,"initialize_editor":338,"on.mouse_release":367,"schema1_of_y":366,"Surface":422,"vx":5,"on.update":368,"font":353,"compute_layout":385}
Page = {
-- page
type='cols', x=0, y=0,
width=800, data={
-- editor covering left side
{
type='text',
name='editor',
doc='prose goes here, on the left half of the window',
data={
"Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.",
'1',
'2',
'3',
'mno',
'Acb',
'g',
'hij',
'klm',
'nop',
},
width=400, bg={r=1,g=1,b=0}
},
-- a table on the right
{ type='rows', name='searches', margin=50, data={
{ type='text', data={''},},
{ type='cols', data={
{ type='text', data={'search:'},},
{ type='text', name='search', bg={r=0.8,g=0.8,b=0.8}, data={''}, width=90,},
}},
{ type='text', data={'table:'},},
{ type='cols', bg={r=0.8,g=0.8,b=0.8}, data={
{ type='rows', width=90, data={
{type='text', data={'abc'},},
{type='text', data={'abc'},},
}},
{ type='rows', width=90, data={
{type='text', data={'def'},},
{type='text', data={'def'},},
}},
}},
}},
},
}
{"on":1,"on.keychord_press":391,"Page":381,"on.text_input":388,"Cursor_node":172,"on.code_change":306,"A":433,"parent":433,"add_thick_line":400,"copy_shape":396,"B":379,"Viewport":303,"on.mouse_press":179,"on.draw":418,"scale":7,"update_editor_box":430,"y_of_schema1":364,"on.initialize":350,"line_height":365,"to_text":180,"box_height":345,"vy":8,"initialize_editor":338,"on.mouse_release":367,"schema1_of_y":366,"Surface":422,"vx":5,"on.update":368,"font":353,"compute_layout":385}
{"on":1,"on.keychord_press":391,"Page":381,"on.text_input":388,"Cursor_node":172,"on.code_change":306,"A":433,"parent":432,"add_thick_line":400,"copy_shape":396,"B":379,"Viewport":303,"on.mouse_press":179,"on.draw":418,"scale":7,"update_editor_box":430,"y_of_schema1":364,"on.initialize":350,"line_height":365,"to_text":180,"box_height":345,"vy":8,"initialize_editor":338,"on.mouse_release":367,"schema1_of_y":366,"Surface":422,"vx":5,"on.update":368,"font":353,"Page2":429,"compute_layout":385}
A = function(preserve_screen_top_of_cursor_node)
-- translate Page to Surface
Surface = {}
compute_layout(Page, Page.x,Page.y, Surface, preserve_screen_top_of_cursor_node)
-- continue the pipeline
B(preserve_screen_top_of_cursor_node)
-- TODO: ugly that we're manipulating editor objects twice
end
{"on":1,"on.keychord_press":391,"Page":381,"on.text_input":388,"Cursor_node":172,"on.code_change":306,"A":432,"parent":431,"add_thick_line":400,"copy_shape":396,"B":379,"Viewport":303,"on.mouse_press":179,"on.draw":418,"scale":7,"update_editor_box":430,"y_of_schema1":364,"on.initialize":350,"line_height":365,"to_text":180,"box_height":345,"vy":8,"initialize_editor":338,"on.mouse_release":367,"schema1_of_y":366,"Surface":422,"vx":5,"on.update":368,"font":353,"Page2":429,"compute_layout":385}
A = function(preserve_screen_top_of_cursor_node)
-- translate Page to Surface
compute_layout(Page, Page.x,Page.y, Surface, preserve_screen_top_of_cursor_node)
-- continue the pipeline
B(preserve_screen_top_of_cursor_node)
-- TODO: ugly that we're manipulating editor objects twice
end
{"on":1,"on.keychord_press":391,"Page":381,"on.text_input":388,"Cursor_node":172,"on.code_change":306,"A":431,"parent":430,"add_thick_line":400,"copy_shape":396,"B":379,"Viewport":303,"on.mouse_press":179,"on.draw":418,"scale":7,"update_editor_box":430,"y_of_schema1":364,"on.initialize":350,"line_height":365,"to_text":180,"box_height":345,"vy":8,"initialize_editor":338,"on.mouse_release":367,"schema1_of_y":366,"Surface":422,"vx":5,"on.update":368,"font":353,"Page2":429,"compute_layout":385}
A = function(preserve_screen_top_of_cursor_node)
-- translate Page to Surface
while #Surface > 3 do table.remove(Surface) end -- HACK
compute_layout(Page, Page.x,Page.y, Surface, preserve_screen_top_of_cursor_node)
-- continue the pipeline
B(preserve_screen_top_of_cursor_node)
-- TODO: ugly that we're manipulating editor objects twice
end