bugfix: Unicode

akkartik
Oct 14, 2024, 10:28 PM
I3DACDF3DSNB7EVZYA3Q4DHKRYSCJKRFO4K7G7PZJBPWVJDCTCDAC

Dependencies

  • [2] I64IPGJX avoid saving fragments in lines
  • [3] GZ5WULJV switch source side to new screen-line-based render
  • [4] JY4VK7L2 rename
  • [5] RTDYYP4H bugfix: text past cursor was rendered red on wrapped lines
  • [6] OYXDYPGS get rid of debug variables
  • [7] Y36LOGR5 bugfix: show cursor when past end of line
  • [8] CVGE3SIG I feel confident now that page-down is working.
  • [9] H2DPLWMV snapshot: wrapping long lines at word boundaries
  • [10] XNFTJHC4 split keyboard handling between Text and Drawing
  • [11] 537TQ2QN some more logging
  • [12] G54H3YG2 get rid of all bifold text
  • [13] KKMFQDR4 editing source code from within the app
  • [14] Z4XRNDTR find text
  • [15] 5DOC2CBM extract a function
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • replacement in text.lua at line 68
    [4.144][2.1442:1502]()
    local endpos = line_cache.screen_line_starting_pos[i+1]-1
    [4.144]
    [2.1502]
    local endpos = line_cache.screen_line_starting_pos[i+1]
  • replacement in text.lua at line 70
    [2.1554][2.1554:1597]()
    return line.data:sub(offset, end_offset)
    [2.1554]
    [4.37]
    return line.data:sub(offset, end_offset-1)
  • replacement in source_text.lua at line 93
    [4.91058][3.2221:2281]()
    local endpos = line_cache.screen_line_starting_pos[i+1]-1
    [4.91058]
    [3.2281]
    local endpos = line_cache.screen_line_starting_pos[i+1]
  • replacement in source_text.lua at line 95
    [3.2333][3.2333:2376]()
    return line.data:sub(offset, end_offset)
    [3.2333]
    [4.91109]
    return line.data:sub(offset, end_offset-1)