fix a name

[?]
Aug 19, 2022, 11:27 PM
6NYMNNADRZEZWL3ISZ2I7N7DFLZPFRGGLWPO25TDA7QLVX52HWQQC

Dependencies

  • [2] MXA3RZYK deduce left/right from state where possible
  • [3] QCPXQ2E3 add state arg to a few functions
  • [4] GCEF4N3V stop repeatedly checking for line wrapping
  • [5] Z5HLXU4P add state arg to a few functions
  • [6] KOYAJWE4 extract a couple more methods
  • [7] ZPUQSPQP extract a few methods
  • [8] CVSRHMJ2 experiment: slightly adaptive scrolling
  • [9] KZ5GAYRP this fixes the immediate regression
  • [10] 5OALPNN3 add args to some functions
  • [11] LF7BWEG4 group all editor globals
  • [*] BULPIBEG beginnings of a module for the text editor

Change contents

  • replacement in text.lua at line 406
    [3.2991][2.653:706](),[3.193][3.3031:3118](),[2.706][3.3031:3118](),[3.1023][3.3031:3118](),[3.3423][3.3031:3118](),[3.67198][3.3031:3118](),[3.3031][3.3031:3118]()
    local top2 = Text.to2(State, State.screen_bottom1)
    if top2.screen_line > 1 then
    top2.screen_line = math.max(top2.screen_line-10, 1)
    [3.2991]
    [3.3118]
    local bot2 = Text.to2(State, State.screen_bottom1)
    if bot2.screen_line > 1 then
    bot2.screen_line = math.max(bot2.screen_line-10, 1)
  • replacement in text.lua at line 410
    [3.3124][3.1024:1065]()
    local new_top1 = Text.to1(State, top2)
    [3.3124]
    [3.3424]
    local new_top1 = Text.to1(State, bot2)