Merge text0

[?]
Mar 18, 2023, 5:47 AM
WS436426ODPWNW4QN2AMRBR2TBGVG2S72PUPS6Y3ZLK33E3ALPEAC

Dependencies

  • [2] 4NUCYNB4 Merge text0
  • [3] LDFXFRUO bring a few things in sync between run and source
  • [4] LNUHQOGH start passing in Editor_state explicitly
  • [5] UHB4GARJ left/right margin -> left/right coordinates
  • [6] 7VGDIPLC more robust state validation
  • [7] TGHAJBES use line cache for drawings as well
  • [8] R56CKHYZ Merge text.love
  • [9] 5BMR5HRT click to the left of a line
  • [10] U3MJNFUY Merge lines.love
  • [11] 2TQUKHBC Merge lines.love
  • [12] 4KC7I3E2 make colors easier to edit
  • [13] PP2IIHL6 stop putting button state in a global
  • [14] GZ2OYPSH configurable colors and cursor in editor widget
  • [15] LF7BWEG4 group all editor globals
  • [16] 2L5MEZV3 experiment: new edit namespace

Change contents

  • resurrect zombie in edit.lua at line 98
    [4.795][2.20:63](),[4.795][2.20:63]()
    function edit.draw(State, fg, hide_cursor)
  • resurrect zombie in edit.lua at line 99
    [4.1023][3.642:816](),[4.1023][3.642:816]()
    if #State.lines ~= #State.line_cache then
    print(('line_cache is out of date; %d when it should be %d'):format(#State.line_cache, #State.lines))
    assert(false)
    end
  • resolve order conflict in edit.lua at line 99
    [2.63]
    [3.642]