stop confusingly reading a global
[?]
Aug 15, 2022, 10:45 PM
XUGDTYW2OALZNGX52BJXFYW2IJ6YSXA62ANG2NX2KDWULYAPZYOACDependencies
- [2]
KURLAXXIclean up some prints - [3]
Y4SPXCM3bugfix: pagedown was sometimes bouncing up - [4]
3ZSUBI57drop some redundant args from Text.draw - [5]
HALS7E5Umore clearly skip prints before screen top - [6]
MYC7XR5Qbugfix: lines that aren't drawn from the start - [7]
ILOA5BYFseparate data structure for each line's cache data - [8]
6WDBV52Zmove a var closer to its use - [9]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [10]
CVGE3SIGI feel confident now that page-down is working. - [11]
LERERVPHkeep one screen line of overlap on pagedown - [12]
2ZRC7FUL. - [13]
DHI6IJCNselecting text and deleting selections - [14]
MXA3RZYKdeduce left/right from state where possible - [15]
HGC5RGJPswitch to line index in a function - [16]
GK47BBCYstart passing left/right margins everywhere - [17]
X3F7ECSLadd state arg to some functions - [*]
BULPIBEGbeginnings of a module for the text editor
Change contents
- replacement in text.lua at line 20
local screen_line_starting_pos = State.screen_top1.poslocal screen_line_starting_pos = startpos - replacement in text.lua at line 29
if Text.lt1({line=line_index, pos=pos}, State.screen_top1) thenif pos < startpos then