remove some unnecessary work
[?]
Aug 17, 2022, 11:13 PM
ZDAJXYIXA3NVIUJIVLKWQB2TBNYGSFCPR7I6LVNK2OIJJ3O5ZSUQCDependencies
- [2]
XUGDTYW2stop confusingly reading a global - [3]
JY4VK7L2rename - [4]
MXA3RZYKdeduce left/right from state where possible - [5]
LERERVPHkeep one screen line of overlap on pagedown - [6]
HGC5RGJPswitch to line index in a function - [7]
OYXDYPGSget rid of debug variables - [8]
KURLAXXIclean up some prints - [9]
HVJKBW5Udrop some unnecessary calls - [10]
NDHQN23Gdone passing left/right margins everywhere - [11]
UV4EWOLYadd args to some functions - [12]
ODLKHO7Bswitch to line index in a function - [13]
M6TH7VSZrip out notion of Line_width - [14]
2H67P75Xswitch arg for a function - [15]
H2DPLWMVsnapshot: wrapping long lines at word boundaries - [16]
ILOA5BYFseparate data structure for each line's cache data - [17]
CBPV5SSIstop handling nil screen_line_starting_pos everywhere - [*]
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