Merge lines.love

[?]
May 6, 2023, 4:09 PM
KB7KTSCPTMQ4MDDP6BJSAZZBHCINAO762XY6GJPFLMIW6BPOEHLAC

Dependencies

  • [2] MXSAHZN4 Merge lines.love
  • [3] ZPQI5UL3 bugfix: never use utf8 pos in string.sub
  • [4] ZLJYLPOT Merge lines.love
  • [5] 66X36NZN a little more prose describing manual_tests
  • [6] JZR3QMTN Merge lines.love
  • [7] OTIBCAUJ love2d scaffold
  • [8] OGUV4HSA remove some memory leaks from rendered fragments
  • [9] N2NUGNN4 include a brief reference enabling many useful apps
  • [10] ORKN6EOB Merge lines.love
  • [11] KWIVKQQ7 Merge lines.love
  • [12] HALS7E5U more clearly skip prints before screen top
  • [13] 4SR3Z4Y3 document the version of LÖVE I've been using
  • [14] K2X6G75Z start writing some tests for drawings
  • [15] R5QXEHUI somebody stop me
  • [16] BJ5X5O4A let's prevent the text cursor from ever getting on a drawing
  • [17] AVTNUQYR basic test-enabled framework
  • [18] 2L5MEZV3 experiment: new edit namespace
  • [19] JOPVPUSA editing source code from within the app
  • [20] 6LJZN727 handle chords
  • [21] 4YDBYBA4 clean up memory leak experiments
  • [22] RSZD5A7G forgot to add json.lua
  • [23] LXTTOB33 extract a couple of files
  • [24] TLOAPLBJ add a license
  • [25] T4FRZSYL delete an ancient, unused file
  • [26] BLWAYPKV extract a module
  • [27] MD3W5IRA new fork: rip out drawing support
  • [28] KKMFQDR4 editing source code from within the app
  • [29] FS2ITYYH record a known issue
  • [30] TVCPXAAU rename
  • [31] 2CTN2IEF Merge lines.love
  • [32] VXORMHME delete experimental REPL
  • [33] 3QNOKBFM beginnings of a test harness
  • [34] VHUNJHXB Merge lines.love
  • [35] VP5KC4XZ Merge lines.love
  • [36] ZTZOO2OQ Merge lines.love
  • [37] MUJTM6RE bring back a level of wrapping
  • [38] 3PSFWAIL Merge lines.love
  • [39] A4BSGS2C Merge lines.love
  • [40] K74U4BAU Merge lines.love
  • [41] I64IPGJX avoid saving fragments in lines
  • [42] GZ5WULJV switch source side to new screen-line-based render
  • [43] 2JBAEQHU Merge lines.love
  • [44] XX7G2FFJ intermingle freehand line drawings with text
  • [45] D2GCFTTT clean up repl functionality
  • [46] BULPIBEG beginnings of a module for the text editor
  • [47] VHQCNMAR several more modules
  • [48] KMSL74GA support selections in the source editor
  • [49] FZBXBUFF bugfix: search
  • [50] 73OCE2MC after much struggle, a brute-force undo
  • [51] CE4LZV4T drop last couple of manual tests

Change contents

  • file deletion: source_text.lua (----------)source_text.lua (----------)
    [4.2][4.147062:147101](),[4.2][4.147062:147101](),[4.147101][4.83723:83723]()
    local data = State.lines[State.cursor1.line].data
    local cursor_offset = Text.offset(data, State.cursor1.pos)
    if data:sub(cursor_offset, cursor_offset+#State.search_term-1) == State.search_term then
    local lo_px = Text.draw_highlight(State, line, State.left,y, pos, State.cursor1.pos, State.cursor1.pos+utf8.len(State.search_term))
  • edit in text.lua at line 36
    [4.458][4.1743:1893](),[4.1893][4.106:106]()
    if State.lines[State.cursor1.line].data:sub(State.cursor1.pos, State.cursor1.pos+utf8.len(State.search_term)-1) == State.search_term then
  • resurrect zombie in text.lua at line 39
    [4.106][4.741:887](),[3.237][4.741:887](),[4.608][4.741:887](),[4.608][4.741:887]()
    local lo_px = Text.draw_highlight(State, line, State.left,y, pos, State.cursor1.pos, State.cursor1.pos+utf8.len(State.search_term))
  • replacement in source_text.lua at line 58
    [4.88511][4.88511:88661]()
    if State.lines[State.cursor1.line].data:sub(State.cursor1.pos, State.cursor1.pos+utf8.len(State.search_term)-1) == State.search_term then
    [4.88511]
    [4.1540]
    local data = State.lines[State.cursor1.line].data
    local cursor_offset = Text.offset(data, State.cursor1.pos)
    if data:sub(cursor_offset, cursor_offset+#State.search_term-1) == State.search_term then