Merge lines.love

[?]
Aug 18, 2022, 8:48 PM
44BTGR7UG3PYPZQ5EHUOOSMJ4P5NV2FO23EFHMKVOQLFRTT6TJTQC

Dependencies

  • [2] MUJTM6RE bring back a level of wrapping
  • [3] KV7GGVER couple of accidental globals
  • [4] MD3W5IRA new fork: rip out drawing support
  • [5] LF7BWEG4 group all editor globals
  • [6] ILOA5BYF separate data structure for each line's cache data
  • [7] ZPUQSPQP extract a few methods
  • [8] Z5HLXU4P add state arg to a few functions
  • [9] TGHAJBES use line cache for drawings as well
  • [10] MXA3RZYK deduce left/right from state where possible
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • edit in text.lua at line 436
    [4.1956]
    [2.4197]
    local new_screen_line_starting_pos = State.line_cache[State.cursor1.line].screen_line_starting_pos[screen_line_index-1]
  • edit in text.lua at line 439
    [4.1956][3.3:127](),[4.1956][3.3:127]()
    local new_screen_line_starting_pos = State.line_cache[State.cursor1.line].screen_line_starting_pos[screen_line_index-1]
  • resolve order conflict in text.lua at line 439
    [2.4427]
    [4.1139]