6JIMFQY7YBJCFHR4VLILTINAPRIIAYGWY22Z4EOT4BDEJCZRANWQC on.keychord_press = function(chord, key)local old_editor = Editors[1]Editors = {}if chord == 'C-0' theninitialize_editors( --[[font height]] 20, old_editor.filename, old_editor.screen_top1)elseif chord == 'C-=' theninitialize_editors(old_editor.font_height+2, old_editor.filename, old_editor.screen_top1)elseif chord == 'C--' theninitialize_editors(old_editor.font_height-2, old_editor.filename, old_editor.screen_top1)elsefor _,editor in ipairs(Editors) doedit.keychord_press(editor, chord, key)endendend
{"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20,"on.mouse_release":19,"fw_parent":39,"Editors":6,"initialize_editors":35,"fw_app":"broadsheet","on":1,"on.keychord_press":40,"on.initialize":36}
on.keychord_press = function(chord, key)local old_editor = Editors[1]Editors = {}if chord == 'C-0' theninitialize_editors( --[[font height]] 20, old_editor.filename, old_editor.screen_top1)elseif chord == 'C-=' theninitialize_editors(old_editor.font_height+2, old_editor.filename, old_editor.screen_top1)elseif chord == 'C--' theninitialize_editors(old_editors.font_height-2, old_editor.filename, old_editor.screen_top1)elsefor _,editor in ipairs(Editors) doedit.keychord_press(editor, chord, key)endendend
{"fw_app":"broadsheet","on.keychord_press":39,"initialize_editors":35,"on.key_release":15,"Cursor_editor":16,"on.mouse_press":20,"on":1,"on.initialize":36,"on.mouse_release":19,"Editors":6,"on.draw":12,"fw_parent":38}
on.keychord_press = function(chord, key)if chord == 'C-0' theninitialize_editors( --[[font height]] 20, Editors[1].filename, Editors[1].screen_top1)elseif chord == 'C-=' theninitialize_editors(Editors[1].font_height+2, Editors[1].filename, Editors[1].screen_top1)elseif chord == 'C--' theninitialize_editors(Editors[1].font_height-2, Editors[1].filename, Editors[1].screen_top1)elsefor _,editor in ipairs(Editors) doedit.keychord_press(editor, chord, key)endendend
{"fw_app":"broadsheet","on":1,"on.keychord_press":38,"initialize_editors":35,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"fw_parent":37,"Editors":6,"on.initialize":36,"on.mouse_press":20,"on.mouse_release":19}
on.keychord_press = function(chord, key)if chord == 'C-0' theninitialize_editors( --[[font height]] 20, Editors[1].filename, Editors[1].screen_top1)elseif chord == 'C-=' theninitialize_editors(Editors[1].font_height+2, Editors[1].filename, Editors[1].screen_top1)elseif chord == 'C--' theninitialize_editors(Editors[1].font_height-2, Editors[1].filename, Editors[1].screen_top1)elsefor _,editor in ipairs(Editors) doedit.keychord_press(editor, chord, key)endendend
{"fw_app":"broadsheet","on.keychord_press":37,"initialize_editors":35,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on":1,"Editors":6,"on.mouse_release":19,"on.mouse_press":20,"on.initialize":36,"fw_parent":36}
on.initialize = function(arg)initialize_editors( --[[font height]] 20, --[[filename]] arg[1], --[[screen_top]] {line=1, pos=1})end
{"Editors":6,"on":1,"on.mouse_release":19,"initialize_editors":35,"on.initialize":36,"fw_app":"broadsheet","on.keychord_press":34,"fw_parent":35,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
initialize_editors = function(font_height, filename, screen_top)love.graphics.setFont(love.graphics.newFont(font_height))-- initialize multiple editor widgetslocal emwidth = App.newText(love.graphics.getFont(), 'm'):getWidth()local editor_width = 40*emwidthlocal width_remaining = App.screen.width - Margin_left - Margin_rightlocal left = Margin_leftrepeatlocal editor = edit.initialize_state(Margin_top, left, left + math.min(editor_width, width_remaining), font_height, math.floor(font_height*1.3))table.insert(Editors, editor)width_remaining = width_remaining - editor_width - Margin_leftleft = left + editor_width + Margin_leftuntil width_remaining < editor_width-- have them all operate on the file's linesEditors[1].filename = filenameload_from_disk(Editors[1])Text.redraw_all(Editors[1])Editors[1].screen_top = screen_topedit.draw(Editors[1], Text_color) -- initialize screen_bottom1for e=2,#Editors dolocal editor = Editors[e]editor.lines = Editors[1].lineseditor.line_cache = Editors[1].line_cacheeditor.screen_top1 = {line=Editors[e-1].screen_bottom1.line, pos=Editors[e-1].screen_bottom1.pos}editor.cursor1 = {line=editor.screen_top1.line, pos=editor.screen_top1.pos}edit.draw(editor, Text_color) -- initialize screen_bottom1endend
{"Editors":6,"on":1,"on.mouse_release":19,"initialize_editors":35,"on.initialize":33,"fw_app":"broadsheet","on.keychord_press":34,"fw_parent":34,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
on.keychord_press = function(chord, key)if chord == 'C-0' theninitialize_editors( --[[font height]] 20, Editors[1].filename, Editors[1].screen_top1)elseif chord == 'C-=' theninitialize_editors(Editors[1].font_height+2, Editors[1].filename, Editors[1].screen_top1)elseif chord == 'C--' theninitialize_editors(Editors[1].font_height-2, Editors[1].screen_top1)elsefor _,editor in ipairs(Editors) doedit.keychord_press(editor, chord, key)endendend
{"Editors":6,"on":1,"on.mouse_release":19,"initialize_editors":32,"on.initialize":33,"fw_app":"broadsheet","on.keychord_press":34,"fw_parent":33,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
on.initialize = function(arg)initialize_editors( --[[font height]] 20, --[[screen_top]] {line=1, pos=1}, arg[1])end
{"Editors":6,"on":1,"on.mouse_release":19,"initialize_editors":32,"on.initialize":33,"fw_app":"broadsheet","on.keychord_press":31,"fw_parent":32,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
initialize_editors = function(font_height, screen_top, filename)love.graphics.setFont(love.graphics.newFont(font_height))-- initialize multiple editor widgetslocal emwidth = App.newText(love.graphics.getFont(), 'm'):getWidth()local editor_width = 40*emwidthlocal width_remaining = App.screen.width - Margin_left - Margin_rightlocal left = Margin_leftrepeatlocal editor = edit.initialize_state(Margin_top, left, left + math.min(editor_width, width_remaining), font_height, math.floor(font_height*1.3))table.insert(Editors, editor)width_remaining = width_remaining - editor_width - Margin_leftleft = left + editor_width + Margin_leftuntil width_remaining < editor_width-- have them all operate on the file's linesEditors[1].filename = arg[1]load_from_disk(Editors[1])Text.redraw_all(Editors[1])Editors[1].screen_top = screen_topedit.draw(Editors[1], Text_color) -- initialize screen_bottom1for e=2,#Editors dolocal editor = Editors[e]editor.lines = Editors[1].lineseditor.line_cache = Editors[1].line_cacheeditor.screen_top1 = {line=Editors[e-1].screen_bottom1.line, pos=Editors[e-1].screen_bottom1.pos}editor.cursor1 = {line=editor.screen_top1.line, pos=editor.screen_top1.pos}edit.draw(editor, Text_color) -- initialize screen_bottom1endend
{"Editors":6,"on":1,"on.mouse_release":19,"initialize_editors":32,"on.initialize":25,"fw_app":"broadsheet","on.keychord_press":31,"fw_parent":31,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
on.keychord_press = function(chord, key)if chord == 'C-0' theninitialize_editors( --[[font height]] 20, Editors[1].screen_top1)elseif chord == 'C-=' theninitialize_editors(Editors[1].font_height+2, Editors[1].screen_top1)elseif chord == 'C--' theninitialize_editors(Editors[1].font_height-2, Editors[1].screen_top1)elsefor _,editor in ipairs(Editors) doedit.keychord_press(editor, chord, key)endendend
{"Editors":6,"on":1,"on.mouse_release":19,"initialize_editors":29,"on.initialize":25,"fw_app":"broadsheet","on.keychord_press":31,"fw_parent":30,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
on.keychord_press = function(chord, key)if chord == 'C-0' theninitialize_editors( --[[font height]] 20, Editors[1].screen_top1)elsefor _,editor in ipairs(Editors) doedit.keychord_press(editor, chord, key)endendend
{"Editors":6,"on":1,"on.mouse_release":19,"initialize_editors":29,"on.initialize":25,"fw_app":"broadsheet","on.keychord_press":30,"fw_parent":29,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
initialize_editors = function(font_height, screen_top)love.graphics.setFont(love.graphics.newFont(font_height))-- initialize multiple editor widgetslocal emwidth = App.newText(love.graphics.getFont(), 'm'):getWidth()local editor_width = 40*emwidthlocal width_remaining = App.screen.width - Margin_left - Margin_rightlocal left = Margin_leftrepeatlocal editor = edit.initialize_state(Margin_top, left, left + math.min(editor_width, width_remaining), font_height, math.floor(font_height*1.3))table.insert(Editors, editor)width_remaining = width_remaining - editor_width - Margin_leftleft = left + editor_width + Margin_leftuntil width_remaining < editor_width-- have them all operate on the file's linesEditors[1].filename = arg[1]load_from_disk(Editors[1])Text.redraw_all(Editors[1])Editors[1].screen_top = screen_topedit.draw(Editors[1], Text_color) -- initialize screen_bottom1for e=2,#Editors dolocal editor = Editors[e]editor.lines = Editors[1].lineseditor.line_cache = Editors[1].line_cacheeditor.screen_top1 = {line=Editors[e-1].screen_bottom1.line, pos=Editors[e-1].screen_bottom1.pos}editor.cursor1 = {line=editor.screen_top1.line, pos=editor.screen_top1.pos}edit.draw(editor, Text_color) -- initialize screen_bottom1endend
{"Editors":6,"on":1,"on.mouse_release":19,"initialize_editors":29,"on.initialize":25,"fw_app":"broadsheet","on.keychord_press":14,"fw_parent":28,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
initialize_editors = function(font_height, screen_top)love.graphics.setFont(love.graphics.newFont(font_height))-- initialize multiple editor widgetslocal emwidth = App.newText(love.graphics.getFont(), 'm'):getWidth()local editor_width = 40*emwidthlocal width_remaining = App.screen.width - Margin_left - Margin_rightlocal left = Margin_leftrepeatlocal editor = edit.initialize_state(Margin_top, left, left + math.min(editor_width, width_remaining), font_height, math.floor(font_height*1.3))table.insert(Editors, editor)width_remaining = width_remaining - editor_width - Margin_leftleft = left + editor_width + Margin_leftuntil width_remaining < editor_width-- have them all operate on the file's linesEditors[1].filename = arg[1]load_from_disk(Editors[1])Text.redraw_all(Editors[1])edit.draw(Editors[1], Text_color) -- initialize screen_bottom1for e=2,#Editors dolocal editor = Editors[e]editor.lines = Editors[1].lineseditor.line_cache = Editors[1].line_cacheeditor.screen_top1 = {line=Editors[e-1].screen_bottom1.line, pos=Editors[e-1].screen_bottom1.pos}editor.cursor1 = {line=editor.screen_top1.line, pos=editor.screen_top1.pos}edit.draw(editor, Text_color) -- initialize screen_bottom1endend
{"Editors":6,"on":1,"on.mouse_release":19,"initialize_editors":28,"on.initialize":25,"fw_app":"broadsheet","on.keychord_press":14,"fw_parent":27,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
initialize_editors = function(font_height, screen_top)love.graphics.setFont(love.graphics.newFont(font_height))-- initialize multiple editor widgetslocal emwidth = App.newText(love.graphics.getFont(), 'm'):getWidth()local editor_width = 40*emwidthprint(App.screen.width, editor_width)local width_remaining = App.screen.width - Margin_left - Margin_rightlocal left = Margin_leftrepeatlocal editor = edit.initialize_state(Margin_top, left, left + math.min(editor_width, width_remaining), font_height, math.floor(font_height*1.3))table.insert(Editors, editor)width_remaining = width_remaining - editor_width - Margin_leftleft = left + editor_width + Margin_leftuntil width_remaining < editor_width-- have them all operate on the file's linesEditors[1].filename = arg[1]load_from_disk(Editors[1])Text.redraw_all(Editors[1])edit.draw(Editors[1], Text_color) -- initialize screen_bottom1for e=2,#Editors dolocal editor = Editors[e]editor.lines = Editors[1].lineseditor.line_cache = Editors[1].line_cacheeditor.screen_top1 = {line=Editors[e-1].screen_bottom1.line, pos=Editors[e-1].screen_bottom1.pos}editor.cursor1 = {line=editor.screen_top1.line, pos=editor.screen_top1.pos}edit.draw(editor, Text_color) -- initialize screen_bottom1endend
{"Editors":6,"on":1,"on.mouse_release":19,"initialize_editors":27,"on.initialize":25,"fw_app":"broadsheet","on.keychord_press":14,"fw_parent":26,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
initialize_editors = function(font_height, screen_top1)love.graphics.setFont(love.graphics.newFont(font_height))-- initialize multiple editor widgetslocal emwidth = App.newText(love.graphics.getFont(), 'm'):getWidth()local editor_width = 40*emwidthprint(App.screen.width, editor_width)local width_remaining = App.screen.width - Margin_left - Margin_rightlocal left = Margin_leftrepeatlocal editor = edit.initialize_state(Margin_top, left, left + math.min(editor_width, width_remaining), font_height, math.floor(font_height*1.3))table.insert(Editors, editor)width_remaining = width_remaining - editor_width - Margin_leftleft = left + editor_width + Margin_leftuntil width_remaining < editor_width-- have them all operate on the file's linesEditors[1].filename = arg[1]load_from_disk(Editors[1])Text.redraw_all(Editors[1])edit.draw(Editors[1], Text_color) -- initialize screen_bottom1for e=2,#Editors dolocal editor = Editors[e]editor.lines = Editors[1].lineseditor.line_cache = Editors[1].line_cacheeditor.screen_top1 = {line=Editors[e-1].screen_bottom1.line, pos=Editors[e-1].screen_bottom1.pos}editor.cursor1 = {line=editor.screen_top1.line, pos=editor.screen_top1.pos}edit.draw(editor, Text_color) -- initialize screen_bottom1endend
{"Editors":6,"on":1,"on.mouse_release":19,"initialize_editors":26,"on.initialize":25,"fw_app":"broadsheet","on.keychord_press":14,"fw_parent":25,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
on.initialize = function(arg)initialize_editors( --[[font height]] 20, --[[screen_top]] {line=1, pos=1})end
{"Editors":6,"on":1,"on.mouse_release":19,"on.initialize":25,"fw_app":"broadsheet","on.keychord_press":14,"fw_parent":24,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
on.initialize = function(arg)initialize_editors(20)end
{"Editors":6,"on":1,"on.mouse_release":19,"on.initialize":24,"fw_app":"broadsheet","on.keychord_press":14,"fw_parent":23,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}
on.initialize = function(arg)local font_height = 20love.graphics.setFont(love.graphics.newFont(font_height))-- initialize multiple editor widgetslocal emwidth = App.newText(love.graphics.getFont(), 'm'):getWidth()local editor_width = 40*emwidthprint(App.screen.width, editor_width)local width_remaining = App.screen.width - Margin_left - Margin_rightlocal left = Margin_leftrepeatlocal editor = edit.initialize_state(Margin_top, left, left + math.min(editor_width, width_remaining), font_height, math.floor(font_height*1.3))table.insert(Editors, editor)width_remaining = width_remaining - editor_width - Margin_leftleft = left + editor_width + Margin_leftuntil width_remaining < editor_width-- have them all operate on the file's linesEditors[1].filename = arg[1]load_from_disk(Editors[1])Text.redraw_all(Editors[1])edit.draw(Editors[1], Text_color) -- initialize screen_bottom1for e=2,#Editors dolocal editor = Editors[e]editor.lines = Editors[1].lineseditor.line_cache = Editors[1].line_cacheeditor.screen_top1 = {line=Editors[e-1].screen_bottom1.line, pos=Editors[e-1].screen_bottom1.pos}editor.cursor1 = {line=editor.screen_top1.line, pos=editor.screen_top1.pos}edit.draw(editor, Text_color) -- initialize screen_bottom1endend
{"Editors":6,"on":1,"on.mouse_release":19,"on.initialize":23,"fw_app":"broadsheet","on.keychord_press":14,"fw_parent":22,"on.key_release":15,"on.draw":12,"Cursor_editor":16,"on.mouse_press":20}