comment out debug prints while fixing merge conflicts
Dependencies
- [2]
CRBLAWBOresolve conflicts - [3]
HTWAM4NZbugfix: scrolling in left/right movements - [4]
JJ7J4PUBsome unnecessary mutations - [5]
QCPXQ2E3add state arg to a few functions - [6]
MD3W5IRAnew fork: rip out drawing support - [7]
LF7BWEG4group all editor globals - [8]
G3DLS5OUaudit all asserts - [9]
TOXPJJYYresolve conflicts - [10]
OI4FPFINsupport drawings in the source editor - [11]
SVJZZDC3snapshot - no, that's all wrong - [12]
Z5HLXU4Padd state arg to a few functions - [13]
GNQC72UXgeneralize a function - [14]
KV7GGVERcouple of accidental globals - [15]
KKQKPGCIresolve conflicts - [16]
GGJEDJOOadd args to some functions - [17]
MUJTM6REbring back a level of wrapping - [18]
MXA3RZYKdeduce left/right from state where possible - [19]
CUIV2LE5some typos - [20]
ZPUQSPQPextract a few methods - [21]
AQMZJXURuse editor state font for width calculations - [22]
ZS5IYZH5stop caching screen_bottom1 - [*]
BULPIBEGbeginnings of a module for the text editor
Change contents
- replacement in text.lua at line 443
print('down', State.cursor1.line, State.cursor1.pos, State.screen_top1.line, State.screen_top1.pos)--? print('down', State.cursor1.line, State.cursor1.pos, State.screen_top1.line, State.screen_top1.pos) - replacement in text.lua at line 447
print('cursor at final screen line of its line')--? print('cursor at final screen line of its line') - replacement in text.lua at line 452
print(State.cursor1.pos)--? print(State.cursor1.pos) - replacement in text.lua at line 455
print('down 2', State.cursor1.line, State.cursor1.pos, State.screen_top1.line, State.screen_top1.pos, screen_bottom1.line, screen_bottom1.pos)--? print('down 2', State.cursor1.line, State.cursor1.pos, State.screen_top1.line, State.screen_top1.pos, screen_bottom1.line, screen_bottom1.pos) - replacement in text.lua at line 457
print('screen top before:', State.screen_top1.line, State.screen_top1.pos)print('scroll up preserving cursor')--? print('screen top before:', State.screen_top1.line, State.screen_top1.pos)--? print('scroll up preserving cursor') - replacement in text.lua at line 460
print('screen top after:', State.screen_top1.line, State.screen_top1.pos)--? print('screen top after:', State.screen_top1.line, State.screen_top1.pos) - replacement in text.lua at line 466
print('cursor is NOT at final screen line of its line')--? print('cursor is NOT at final screen line of its line') - replacement in text.lua at line 470
print('switching pos of screen line at cursor from '..tostring(screen_line_starting_pos)..' to '..tostring(new_screen_line_starting_pos))--? print('switching pos of screen line at cursor from '..tostring(screen_line_starting_pos)..' to '..tostring(new_screen_line_starting_pos)) - replacement in text.lua at line 474
print('cursor pos is now', State.cursor1.line, State.cursor1.pos)--? print('cursor pos is now', State.cursor1.line, State.cursor1.pos) - replacement in text.lua at line 476
print('scroll up preserving cursor')--? print('scroll up preserving cursor') - replacement in text.lua at line 478
print('screen top after:', State.screen_top1.line, State.screen_top1.pos)--? print('screen top after:', State.screen_top1.line, State.screen_top1.pos) - replacement in text.lua at line 481
print('=>', State.cursor1.line, State.cursor1.pos, State.screen_top1.line, State.screen_top1.pos)--? print('=>', State.cursor1.line, State.cursor1.pos, State.screen_top1.line, State.screen_top1.pos)