resolve conflicts
Dependencies
- [2]
52NEZG2FMerge text0 - [3]
OV6FE23RMerge text0 - [4]
KKQKPGCIresolve conflicts - [5]
R2ASHK5Cfix a bad merge - [6]
LSYLEVBDdrop some redundant args when clearing the cache - [7]
ILOA5BYFseparate data structure for each line's cache data - [8]
TGHAJBESuse line cache for drawings as well - [9]
2N3HLCOVMerge text0 - [10]
4CTZOJPCstop pretending globals are local - [11]
PLKNHYZ4extract a function - [12]
CYEH4AXBa prefix for metadata in the manifest - [13]
B4FAIVRAMerge lines.love - [14]
NQM25OZVreduce use of rfind - [15]
3XNFQDDNMerge lines.love - [16]
6K5PFF6Xhelper: trimming whitespace from strings - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
2L5MEZV3experiment: new edit namespace
Change contents
- edit in text.lua at line 963
- resurrect zombie in edit.lua at line 106
function edit.draw(State, fg, hide_cursor) - resurrect zombie in edit.lua at line 107
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 107