simplify

[?]
Aug 18, 2022, 7:19 AM
2EKE4XLLUF44XPHJOJ53SAUP3TUDM572HWXMHJ5UVIYIQICRNEVAC

Dependencies

  • [2] Z5HLXU4P add state arg to a few functions
  • [3] 2TQR4PSY add args to some functions
  • [4] ZPUQSPQP extract a few methods
  • [5] LF7BWEG4 group all editor globals
  • [6] WLJCIXYM add state arg to a few functions
  • [7] CUIV2LE5 some typos
  • [8] MXA3RZYK deduce left/right from state where possible
  • [9] TGHAJBES use line cache for drawings as well
  • [10] AYE2VEGJ extract a couple of methods
  • [11] NHNP76LG swap return values
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • replacement in text.lua at line 501
    [3.3744][3.73:103](),[3.103][2.6708:6766](),[2.6766][3.104:129](),[3.71032][3.104:129](),[3.263][3.104:129](),[3.129][3.3921:3929](),[3.3921][3.3921:3929]()
    local scroll_down = false
    if Text.le1(State.screen_bottom1, State.cursor1) then
    scroll_down = true
    end
    [3.3744]
    [3.3929]
    local scroll_down = Text.le1(State.screen_bottom1, State.cursor1)