remove some unnecessary work

[?]
Aug 17, 2022, 11:13 PM
ZDAJXYIXA3NVIUJIVLKWQB2TBNYGSFCPR7I6LVNK2OIJJ3O5ZSUQC

Dependencies

  • [2] XUGDTYW2 stop confusingly reading a global
  • [3] HGC5RGJP switch to line index in a function
  • [4] ODLKHO7B switch to line index in a function
  • [5] UV4EWOLY add args to some functions
  • [6] OYXDYPGS get rid of debug variables
  • [7] LERERVPH keep one screen line of overlap on pagedown
  • [8] CBPV5SSI stop handling nil screen_line_starting_pos everywhere
  • [9] HVJKBW5U drop some unnecessary calls
  • [10] NDHQN23G done passing left/right margins everywhere
  • [11] H2DPLWMV snapshot: wrapping long lines at word boundaries
  • [12] M6TH7VSZ rip out notion of Line_width
  • [13] 2H67P75X switch arg for a function
  • [14] JY4VK7L2 rename
  • [15] MXA3RZYK deduce left/right from state where possible
  • [16] ILOA5BYF separate data structure for each line's cache data
  • [17] KURLAXXI clean up some prints
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • replacement in text.lua at line 21
    [3.109][3.3:63]()
    Text.populate_screen_line_starting_pos(State, line_index)
    [2.47]
    [3.3860]
    if line_cache.fragments == nil then
    Text.compute_fragments(State, line_index)
    end