resolve conflicts
Dependencies
- [2]
KNWMKLNJMerge lines.love - [3]
G3DLS5OUaudit all asserts - [4]
57OGXVHZMerge lines.love - [5]
LDFXFRUObring a few things in sync between run and source - [6]
NPXYCSEAMerge lines.love - [7]
5BMR5HRTclick to the left of a line - [8]
CIK3U5S6Merge lines.love - [9]
ELJNEPW2simplify cursor-on-screen check - [10]
LNUHQOGHstart passing in Editor_state explicitly - [11]
TGZAJUEFbring back a set of constants - [12]
OWE64YJ2Merge lines.love - [13]
WJBZZQE4fold together two largely similar cases - [14]
Z5WOBP27Merge lines.love - [15]
2L5MEZV3experiment: new edit namespace - [16]
LF7BWEG4group all editor globals - [17]
KKMFQDR4editing source code from within the app - [18]
T4C5HT2Osupport a commandline arg just like in pensieve.love - [19]
2SAJWSNKautomatically insert timestamp every time - [20]
5CDHNEKRMerge lines.love - [21]
KTZQ57HVreplace globals with args in a few functions - [22]
4KC7I3E2make colors easier to edit - [23]
HHYXYWAFbugfix: write to file 'recent' - [24]
PP2IIHL6stop putting button state in a global - [25]
VN3MTXFKMerge lines.love - [26]
FTB4YNQUMerge lines.love
Change contents
- replacement in run.lua at line 38
assert(not file_exists(Editor_state.filename))assert(not file_exists(Editor_state.filename), 'refusing to overwrite existing file at current timestamp') - replacement in edit.lua at line 162
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)endif not Text.le1(State.screen_top1, State.cursor1) thenprint(State.screen_top1.line, State.screen_top1.pos, State.cursor1.line, State.cursor1.pos)assert(false)endassert(#State.lines == #State.line_cache, ('line_cache is out of date; %d elements when it should be %d'):format(#State.line_cache, #State.lines))assert(Text.le1(State.screen_top1, State.cursor1), ('screen_top (line=%d,pos=%d) is below cursor (line=%d,pos=%d)'):format(State.screen_top1.line, State.screen_top1.pos, State.cursor1.line, State.cursor1.pos)) - replacement in edit.lua at line 203
print(line.mode)assert(false)assert(false, ('unknown line mode %s'):format(line.mode)) - edit in edit.lua at line 622[4.17561]→[2.126:126](∅→∅),[4.5492]→[3.7493:7557](∅→∅),[4.5492]→[3.7493:7557](∅→∅),[4.1023]→[3.7131:7492](∅→∅),[4.1023]→[3.7131:7492](∅→∅)
assert(false, ('unknown line mode %s'):format(line.mode))assert(#State.lines == #State.line_cache, ('line_cache is out of date; %d elements when it should be %d'):format(#State.line_cache, #State.lines))assert(Text.le1(State.screen_top1, State.cursor1), ('screen_top (line=%d,pos=%d) is below cursor (line=%d,pos=%d)'):format(State.screen_top1.line, State.screen_top1.pos, State.cursor1.line, State.cursor1.pos)) - resolve order conflict in edit.lua at line 622[4.17561]