Merge text0

[?]
Mar 24, 2023, 4:48 AM
RHARLLIQPGKVXNYQSIAZWILUI6F3CWMZ3ABJVI52IC3RBRSWPR5AC

Dependencies

  • [2] WZZGVKSG a few more renames
  • [3] Y64XAKCD drop non-existent arg in callback
  • [4] LXFHXL2N Merge text.love
  • [5] LRDM35CE app running again
  • [6] 2Y7YH7UP infrastructure for caching LÖVE text objects
  • [7] JOPVPUSA editing source code from within the app
  • [8] VOU73AK6 Merge lines.love
  • [9] 3QQZ7W4E bring couple more globals back to the app level
  • [10] C3GUE45I Merge text.love
  • [11] 2CK5QI7W make love event names consistent
  • [12] 36Z442IV back to commit 8123959e52f without code editing
  • [13] GFXWHTE6 mouse wheel support
  • [14] KKMFQDR4 editing source code from within the app
  • [15] TXDMRA5J bugfix: alt-tab shouldn't emit keypress events
  • [16] CYGNFOA5 Merge text0
  • [17] XGHCLIKB Merge lines.love
  • [18] JCSLDGAH beginnings of support for multiple shapes
  • [19] AVTNUQYR basic test-enabled framework
  • [20] ORKN6EOB Merge lines.love
  • [21] 2CTN2IEF Merge lines.love
  • [*] OTIBCAUJ love2d scaffold
  • [*] 5OVKHVY6 nice way to make on.* handlers more discoverable

Change contents

  • replacement in main.lua at line 144
    [4.113][4.113:165]()
    return edit.mouse_wheel_move(Editor_state, dx,dy)
    [4.113]
    [4.165]
    if on.mouse_wheel_move then on.mouse_wheel_move(dx,dy) end
  • replacement in main.lua at line 183
    [4.172][5.889:893](),[5.889][5.889:893](),[5.889][5.889:893](),[5.7809][4.172:172](),[5.191780][5.7786:7809](),[5.7785][5.191774:191780](),[5.191774][5.191774:191780](),[5.190717][5.7652:7785](),[3.67][5.190712:190717](),[5.170][5.190712:190717](),[5.720][5.190712:190717](),[5.1399][5.190712:190717](),[5.7651][5.190712:190717](),[5.241][5.190712:190717](),[5.7595][3.8:67](),[5.594][5.7521:7595](),[5.190383][5.588:594](),[5.191260][5.588:594](),[5.588][5.588:594]()
    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
    if on.key_release then on.key_release(key, scancode) end
    Cursor_time = 0 -- ensure cursor is visible immediately after it moves
    end
    [5.466]
    end
    Cursor_time = 0 -- ensure cursor is visible immediately after it moves
    if on.key_release then on.key_release(key, scancode) end
    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
  • edit in 0001-on at line 15
    [2.444]
    [2.444]
    -- on.mouse_wheel_move (see love.wheelmoved)