get rid of debug variables
[?]
May 24, 2022, 6:00 AM
OYXDYPGSJK2QICJ6RBA7357WT4FSNAWRUT77YLQHT3F3VYMWGNFQCDependencies
- [2]
LERERVPHkeep one screen line of overlap on pagedown - [3]
QU7NHFOVshow cursor - [4]
XNFTJHC4split keyboard handling between Text and Drawing - [5]
5L7K4GBDclicking to the right of a wrapped line - [6]
RTDYYP4Hbugfix: text past cursor was rendered red on wrapped lines - [7]
ESETRNLBbugfix: printing the first part of a line at the bottom made it seem non-wrapping - [8]
JCSLDGAHbeginnings of support for multiple shapes - [9]
MDXGMZU2disable all debug prints - [10]
4C375P53this is a bit clearer - [11]
YKRF5V3Zstarting to load/save - [12]
AVTNUQYRbasic test-enabled framework - [13]
B3IWYWSRdelete another arg that can be deduced - [14]
Y36LOGR5bugfix: show cursor when past end of line - [15]
2RXZ3PGObeginning of a new approach to scroll+wrap - [16]
LUNH47XXmake text and drawings the same width - [17]
5DOC2CBMextract a function - [18]
7IKRRESBlonger names for indices in long loops - [19]
YTSPVDZHfirst successful pagedown test, first bug found by test - [20]
CVGE3SIGI feel confident now that page-down is working. - [21]
UWNHC4AAredo y computations - [22]
U7M4M2F7bugfix: don't rely on Screen_bottom1 while scrolling - [23]
3TFEAQSWstart using some globals - [24]
537TQ2QNsome more logging - [25]
JY4VK7L2rename - [26]
PFT5Y2ZYmove - [27]
PGZJ6NATensure Filename is writable when opened outside a terminal - [28]
YJGADSGKdelete unused arg - [29]
DLQMM265scroll past first page - [30]
XX7G2FFJintermingle freehand line drawings with text - [31]
3CS5KKCIup/down cursor movement - [32]
AVQ5MC5Dfinish uppercasing all globals - [33]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [34]
Y6FTGOHJsimpler - [35]
MGT5FTJ3first stab at supporting wrapping in cursor up - [36]
DAENUOGVeliminate assumptions that line length == size in bytes - [37]
2POFQQLWkeep cursor on screen when pressing 'down' - [38]
H22OAXWEcouple of TODOs - [39]
BULPIBEGbeginnings of a module for the text editor - [40]
IRV65LZPfold variables for screen dimensions into the app framework - [41]
WLHI7KD3new globals: draw partial screen line up top - [42]
QYIFOHW3first test! - [43]
S5VCAFKYcouple of tests for cursor down - [44]
OTIBCAUJlove2d scaffold - [45]
JRGTJ2IWquite the frustrating bugfix - [46]
A2NV3WVOscrolling with up arrow
Change contents
- edit in text.lua at line 5
local Debug_new_render = false - replacement in text.lua at line 23
if Debug_new_render then print('--') end--? print('--') - edit in text.lua at line 41
if Debug_new_render then print('y', y) end - replacement in text.lua at line 47
if Debug_new_render then print('drawing '..frag) end--? print('drawing '..frag) - edit in text.lua at line 63
Debug_new_render = false - edit in text.lua at line 590
--? Debug_new_render = true - edit in main.lua at line 87
Debug_main = false - replacement in main.lua at line 126
if Debug_main then print('== draw') end--? print('== draw') - replacement in main.lua at line 128[3.44]→[3.2915:2950](∅→∅),[3.1020]→[3.2297:2354](∅→∅),[3.2950]→[3.2297:2354](∅→∅),[3.44]→[3.2297:2354](∅→∅)
--? print(y, line_index, line)if Debug_main then print('draw:', line_index, y) end--? print('draw:', y, line_index, line) - replacement in main.lua at line 153
if Debug_main then print('text') end--? print('text') - replacement in main.lua at line 157
if Debug_main then print('aa', y) end--? print('=> y', y) - edit in main.lua at line 161
Debug_main = false - edit in main.lua at line 201
--? Debug_main = true