fix a name
[?]
Aug 19, 2022, 11:27 PM
6NYMNNADRZEZWL3ISZ2I7N7DFLZPFRGGLWPO25TDA7QLVX52HWQQCDependencies
- [2]
MXA3RZYKdeduce left/right from state where possible - [3]
QCPXQ2E3add state arg to a few functions - [4]
GCEF4N3Vstop repeatedly checking for line wrapping - [5]
Z5HLXU4Padd state arg to a few functions - [6]
KOYAJWE4extract a couple more methods - [7]
ZPUQSPQPextract a few methods - [8]
CVSRHMJ2experiment: slightly adaptive scrolling - [9]
KZ5GAYRPthis fixes the immediate regression - [10]
5OALPNN3add args to some functions - [11]
LF7BWEG4group all editor globals - [*]
BULPIBEGbeginnings 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 thentop2.screen_line = math.max(top2.screen_line-10, 1)local bot2 = Text.to2(State, State.screen_bottom1)if bot2.screen_line > 1 thenbot2.screen_line = math.max(bot2.screen_line-10, 1) - replacement in text.lua at line 410
local new_top1 = Text.to1(State, top2)local new_top1 = Text.to1(State, bot2)