resolve conflicts
Dependencies
- [2]
G4TDWMNZno, make the scrollbar easier to acquire - [3]
KKQKPGCIresolve conflicts - [4]
XNFTJHC4split keyboard handling between Text and Drawing - [5]
PTDO2SOTadd state arg to schedule_save - [6]
QCPXQ2E3add state arg to a few functions - [7]
LSYLEVBDdrop some redundant args when clearing the cache - [8]
MD3W5IRAnew fork: rip out drawing support - [9]
ZM7NOBRMnew fork: carousel shell - [10]
PX7DDEMOautosave slightly less aggressively - [11]
LF7BWEG4group all editor globals - [12]
PR4KIAZDfirst stab at equally hacky cursor down support - [13]
SPSW74Y5add state arg to Text.keychord_pressed - [14]
I64IPGJXavoid saving fragments in lines - [15]
UHB4GARJleft/right margin -> left/right coordinates - [16]
ICS45BILeditor widget now takes a bottom margin - [17]
G3DLS5OUaudit all asserts - [18]
R2ASHK5Cfix a bad merge - [19]
XUGDTYW2stop confusingly reading a global - [20]
V5SYDHPQstart thinking of compute_fragments as a detail - [21]
OV6FE23RMerge text0 - [22]
N6JEX2X6remove an assertion - [23]
ILOA5BYFseparate data structure for each line's cache data - [24]
MDXGMZU2disable all debug prints - [25]
2RXZ3PGObeginning of a new approach to scroll+wrap - [26]
MXSAHZN4Merge lines.love - [27]
MXA3RZYKdeduce left/right from state where possible - [28]
AYE2VEGJextract a couple of methods - [29]
MZ3DMYPDstart sketching out a scrollbar - [30]
HMODUNJEscroll on backspace - [31]
OGUV4HSAremove some memory leaks from rendered fragments - [32]
7LVK4KRDfix a failing test - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
2L5MEZV3experiment: new edit namespace
Change contents
- resurrect zombie in text.lua at line 19
App.color(Line_number_color)love.graphics.print(line_index, State.left-Line_number_width*App.width('m')+10,y)if fg == nil theninitialize_color()end - resolve order conflict in text.lua at line 24
- resurrect zombie in text.lua at line 239
Text.refresh_screen_line_cache(State, State.cursor1.line) - resurrect zombie in text.lua at line 240
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 text.lua at line 240
- resurrect zombie in text.lua at line 627
if State.top > State.bottom - State.line_height then - edit in text.lua at line 628
- resolve order conflict in text.lua at line 628
- edit in edit.lua at line 111
print(State.screen_top1.line, State.screen_top1.pos, State.cursor1.line, State.cursor1.pos)assert(false)