remove some unnecessary work
[?]
Aug 17, 2022, 11:13 PM
ZDAJXYIXA3NVIUJIVLKWQB2TBNYGSFCPR7I6LVNK2OIJJ3O5ZSUQCDependencies
- [2]
XUGDTYW2stop confusingly reading a global - [3]
HGC5RGJPswitch to line index in a function - [4]
ODLKHO7Bswitch to line index in a function - [5]
UV4EWOLYadd args to some functions - [6]
OYXDYPGSget rid of debug variables - [7]
LERERVPHkeep one screen line of overlap on pagedown - [8]
CBPV5SSIstop handling nil screen_line_starting_pos everywhere - [9]
HVJKBW5Udrop some unnecessary calls - [10]
NDHQN23Gdone passing left/right margins everywhere - [11]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [12]
M6TH7VSZrip out notion of Line_width - [13]
2H67P75Xswitch arg for a function - [14]
JY4VK7L2rename - [15]
MXA3RZYKdeduce left/right from state where possible - [16]
ILOA5BYFseparate data structure for each line's cache data - [17]
KURLAXXIclean up some prints - [*]
BULPIBEGbeginnings of a module for the text editor
Change contents
- replacement in text.lua at line 21
Text.populate_screen_line_starting_pos(State, line_index)if line_cache.fragments == nil thenText.compute_fragments(State, line_index)end