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