Merge text0

[?]
May 6, 2023, 4:15 PM
2N3HLCOVSSOTQQULZRVXUQXGTOG4RBR6ZSSCY55JTB65GEYYNOFQC

Dependencies

  • [2] HLIF3YQE Merge text0
  • [3] KB7KTSCP Merge lines.love
  • [4] FZBXBUFF bugfix: search
  • [5] CYEH4AXB a prefix for metadata in the manifest
  • [6] PLKNHYZ4 extract a function
  • [7] MUJTM6RE bring back a level of wrapping
  • [8] R53OF3ON one bug I've repeatedly run into while testing with Moby Dick
  • [9] LSYLEVBD drop some redundant args when clearing the cache
  • [10] HALS7E5U more clearly skip prints before screen top
  • [11] MD3W5IRA new fork: rip out drawing support
  • [12] B4FAIVRA Merge lines.love
  • [13] ILOA5BYF separate data structure for each line's cache data
  • [14] 4CTZOJPC stop pretending globals are local
  • [15] 6K5PFF6X helper: trimming whitespace from strings
  • [16] I64IPGJX avoid saving fragments in lines
  • [17] ZPQI5UL3 bugfix: never use utf8 pos in string.sub
  • [18] GZ2OYPSH configurable colors and cursor in editor widget
  • [19] ZLJYLPOT Merge lines.love
  • [20] TGHAJBES use line cache for drawings as well
  • [21] NQM25OZV reduce use of rfind
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • resurrect zombie in text.lua at line 41
    [4.1893][2.26:172](),[4.1893][2.26:172]()
    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 41
    [4.458]
    [2.26]
    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
  • edit in text.lua at line 925
    [4.442][4.59:59](),[4.458][4.3:237](),[4.458][4.3:237](),[4.106][4.741:887](),[4.237][4.741:887](),[4.608][4.741:887](),[4.106][4.741:887](),[4.608][4.741:887]()
    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))
  • resolve order conflict in text.lua at line 925
    [4.442]