Merge lines.love

[?]
Jan 13, 2023, 5:33 PM
ZTZOO2OQ2DXRG3MI4RQVNWRHALXQ6BCIOWTTYPP2URQF5EWSNTOAC

Dependencies

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

Change contents

  • file deletion: colorize.lua (----------)colorize.lua (----------)
    [4.2][4.209677:209713](),[4.2][4.209677:209713](),[4.209713][4.207764:207764]()
    if edge.suffix and ends_with(frag, edge.suffix) then
    Current_state = edge.target
    break
    end
    end
    if edge.prefix and starts_with(frag, edge.prefix) then
    Current_state = edge.target
    break
    end
    end
    end
    function switch_color_based_on_suffix(frag)
    if Next_state[Current_state] == nil then
    return
    end
    frag = rtrim(frag)
    for _,edge in pairs(Next_state[Current_state]) do
  • replacement in colorize.lua at line 63
    [4.208492][4.208492:208572]()
    if edge.prefix and find(frag, edge.prefix, nil, --[[plain]] true) == 1 then
    [4.208492]
    [4.208572]
    if edge.prefix and starts_with(frag, edge.prefix) then
  • replacement in colorize.lua at line 76
    [4.208814][2.439:543]()
    if edge.suffix and rfind(frag, edge.suffix, nil, --[[plain]] true) == #frag - #edge.suffix + 1 then
    [4.208814]
    [4.208899]
    if edge.suffix and ends_with(frag, edge.suffix) then
  • edit in colorize.lua at line 81
    [4.208959][4.208959:209128]()
    end
    function trim(s)
    return s:gsub('^%s+', ''):gsub('%s+$', '')
    end
    function ltrim(s)
    return s:gsub('^%s+', '')
    end
    function rtrim(s)
    return s:gsub('%s+$', '')