Merge text.love

[?]
Mar 25, 2023, 6:41 PM
Y5XAFGMWTCVHNO4XQAHN7J2SAMNALDM7TCDGJ56HFRQCTHQ4SQ6AC

Dependencies

Change contents

  • file deletion: source.lua (----------)source.lua (----------)
    [4.2][4.177715:177749](),[4.2][4.177715:177749](),[4.177749][4.165829:165829]()
    end
    -- keep a few blank lines around: https://merveilles.town/@akkartik/110084833821965708
    love.window.setTitle('text.love - source')
    end
    -- keep a few blank lines around: https://merveilles.town/@akkartik/110084833821965708
    love.window.setTitle('text.love - source')
  • file deletion: run.lua (----------)run.lua (----------)
    [4.2][4.183867:183898](),[4.2][4.183867:183898](),[4.183898][4.178107:178107]()
    end
    function run.draw()
    edit.draw(Editor_state)
    end
    function run.update(dt)
    Cursor_time = Cursor_time + dt
    edit.update(Editor_state, dt)
    end
    function run.quit()
    edit.quit(Editor_state)
    end
    function run.settings()
    -- keep a few blank lines around: https://merveilles.town/@akkartik/110084833821965708
    love.window.setTitle('text.love - '..Editor_state.filename)
    if #arg > 1 then
    print('ignoring commandline args after '..arg[1])
    end
    if rawget(_G, 'jit') then
    jit.off()
    jit.flush()
    end
    end
    function run.load_settings()
    love.graphics.setFont(love.graphics.newFont(Settings.font_height))
    -- keep a few blank lines around: https://merveilles.town/@akkartik/110084833821965708
    love.window.setTitle('text.love - '..Editor_state.filename)
  • edit in main.lua at line 56
    [4.40]
    [4.2883]
    -- keep a few blank lines around: https://merveilles.town/@akkartik/110084833821965708
  • edit in main.lua at line 62
    [70.41]
    [4.2946]
  • edit in main.lua at line 147
    [4.73]
    [4.5982]
    -- keep a few blank lines around: https://merveilles.town/@akkartik/110084833821965708
  • edit in main.lua at line 152
    [4.6044]
    [4.183]
  • replacement in main.lua at line 231
    [2.172][4.889:893](),[4.889][4.889:893](),[4.889][4.889:893](),[4.7809][2.172:172](),[4.191780][4.7786:7809](),[4.7785][4.191774:191780](),[4.191774][4.191774:191780](),[4.190717][4.7652:7785](),[4.170][4.190712:190717](),[4.7651][4.190712:190717](),[4.241][4.190712:190717](),[4.114][4.115:170](),[4.7595][4.114:114](),[4.594][4.7521:7595](),[4.190383][4.588:594](),[4.191260][4.588:594](),[4.588][4.588:594](),[4.889][4.925:956](),[4.925][4.925:956](),[4.889][4.925:956](),[4.925][4.925:956](),[4.961][4.1021:1059](),[4.1021][4.1021:1059](),[4.961][4.1021:1059](),[4.1021][4.1021:1059]()
    end
    return Text_cache[s]
    end
    -- use this sparingly
    function to_text(s)
    if Text_cache[s] == nil then
    Text_cache[s] = App.newText(love.graphics.getFont(), s)
    end
    return edit.key_release(Editor_state, key, scancode)
    Cursor_time = 0 -- ensure cursor is visible immediately after it moves
    end
    if Current_app == 'run' then
    elseif Current_app == 'source' then
    [4.466]
    end
    Cursor_time = 0 -- ensure cursor is visible immediately after it moves
    return edit.key_release(Editor_state, key, scancode)
    end
    -- use this sparingly
    function to_text(s)
    if Text_cache[s] == nil then
    Text_cache[s] = App.newText(love.graphics.getFont(), s)
    end
    return Text_cache[s]
    end