Merge text0
[?]
Mar 18, 2023, 5:47 AM
WS436426ODPWNW4QN2AMRBR2TBGVG2S72PUPS6Y3ZLK33E3ALPEACDependencies
- [2]
4NUCYNB4Merge text0 - [3]
LDFXFRUObring a few things in sync between run and source - [4]
LNUHQOGHstart passing in Editor_state explicitly - [5]
UHB4GARJleft/right margin -> left/right coordinates - [6]
7VGDIPLCmore robust state validation - [7]
TGHAJBESuse line cache for drawings as well - [8]
R56CKHYZMerge text.love - [9]
5BMR5HRTclick to the left of a line - [10]
U3MJNFUYMerge lines.love - [11]
2TQUKHBCMerge lines.love - [12]
4KC7I3E2make colors easier to edit - [13]
PP2IIHL6stop putting button state in a global - [14]
GZ2OYPSHconfigurable colors and cursor in editor widget - [15]
LF7BWEG4group all editor globals - [16]
2L5MEZV3experiment: new edit namespace
Change contents
- resurrect zombie in edit.lua at line 98
function edit.draw(State, fg, hide_cursor) - resurrect zombie in edit.lua at line 99
if #State.lines ~= #State.line_cache thenprint(('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