Merge lines.love

[?]
Sep 17, 2022, 11:42 PM
UI3IP45FD2XZ3HFSZSPH5HBD5DT6CHHUR77FTKIIN3M43OQ3Y6EQC

Dependencies

  • [2] AYX33NBC Merge lines.love
  • [3] MLXDXFO6 isolate some tests from settings
  • [4] OGUV4HSA remove some memory leaks from rendered fragments
  • [5] CE4LZV4T drop last couple of manual tests
  • [6] VXORMHME delete experimental REPL
  • [7] KKMFQDR4 editing source code from within the app
  • [8] TLOAPLBJ add a license
  • [9] R5QXEHUI somebody stop me
  • [10] OTIBCAUJ love2d scaffold
  • [11] 4YDBYBA4 clean up memory leak experiments
  • [12] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing
  • [13] BLWAYPKV extract a module
  • [14] MD3W5IRA new fork: rip out drawing support
  • [15] 2CTN2IEF Merge lines.love
  • [16] D4B52CQ2 Merge lines.love
  • [17] 3PSFWAIL Merge lines.love
  • [18] 73OCE2MC after much struggle, a brute-force undo
  • [19] C3NYQP57 Merge lines.love
  • [20] D2GCFTTT clean up repl functionality
  • [21] TVCPXAAU rename
  • [22] FS2ITYYH record a known issue
  • [23] VHQCNMAR several more modules
  • [24] JOPVPUSA editing source code from within the app
  • [25] 32V6ZHQB Merge lines.love
  • [26] 66X36NZN a little more prose describing manual_tests
  • [27] VHUNJHXB Merge lines.love
  • [28] T4FRZSYL delete an ancient, unused file
  • [29] XX7G2FFJ intermingle freehand line drawings with text
  • [30] BULPIBEG beginnings of a module for the text editor
  • [31] AVTNUQYR basic test-enabled framework
  • [32] 3QNOKBFM beginnings of a test harness
  • [33] KMSL74GA support selections in the source editor
  • [34] JMUD7T3O get rid of ugly side-effects in tests
  • [35] RSZD5A7G forgot to add json.lua
  • [36] GUOQRUL7 Merge lines.love
  • [37] 2L5MEZV3 experiment: new edit namespace
  • [38] LXTTOB33 extract a couple of files
  • [39] K2X6G75Z start writing some tests for drawings
  • [40] 6LJZN727 handle chords

Change contents

  • file deletion: source.lua (----------)source.lua (----------)
    [4.2][4.177652:177686](),[4.2][4.177652:177686](),[4.177686][4.165766:165766]()
    if not App.run_tests then
    source.set_window_position_from_settings(Settings.source)
    end
    return
    end
    if chord == 'C-g' then
    Show_file_navigator = true
    File_navigation.index = 1
    return
    end
    if Focus == 'edit' then
    return edit.keychord_pressed(Editor_state, chord, key)
    else
    return log_browser.keychord_pressed(Log_browser_state, chord, key)
    end
    end
    function source.key_released(key, scancode)
    Cursor_time = 0 -- ensure cursor is visible immediately after it moves
    if Focus == 'edit' then
    return edit.key_released(Editor_state, key, scancode)
    else
    return log_browser.keychord_pressed(Log_browser_state, chordkey, 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
  • replacement in source.lua at line 337
    [4.176893][4.176893:176955]()
    source.set_window_position_from_settings(Settings.source)
    [4.176893]
    [4.176955]
    if not App.run_tests then
    source.set_window_position_from_settings(Settings.source)
    end