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