standardize scroll check in a few places
[?]
Aug 17, 2022, 4:40 PM
AYS3Z3TXOXF5ZJDLSBWEUIOWXJEZXLXEBZS5ZRJC2IRDVM7KTSTACDependencies
- [2]
ODLKHO7Bswitch to line index in a function - [3]
GN3IF4WFbugfix: pasting newlines - [4]
PFT5Y2ZYmove - [5]
5UG5PQ6Kundo commit 861c57b533 - [6]
VJ77YABHmore efficient undo/redo - [7]
73OCE2MCafter much struggle, a brute-force undo - [8]
Z5HLXU4Padd state arg to a few functions - [9]
PX7DDEMOautosave slightly less aggressively - [10]
2ZYV7D3Whandle tab characters - [11]
BYG5CEMVsupport for naming points - [12]
SQLVYKVJrename - [13]
DRFE3B3Zmouse buttons are integers, not strings - [14]
IRCKL6VNextract scrolling logic out of insert_at_cursor - [15]
LF7BWEG4group all editor globals - [16]
QCPXQ2E3add state arg to a few functions - [17]
3MAZEQK5add state arg to Text.textinput - [18]
SPSW74Y5add state arg to Text.keychord_pressed - [19]
XNFTJHC4split keyboard handling between Text and Drawing - [20]
3TDOZESEextract scrolling logic out of insert_return - [21]
G6OYAYHUpaste in text with M-v - [22]
UHB4GARJleft/right margin -> left/right coordinates - [*]
BULPIBEGbeginnings of a module for the text editor
Change contents
- replacement in text.lua at line 159
if State.cursor_y >= App.screen.height - State.line_height thenif State.cursor_y > App.screen.height - State.line_height then - replacement in text.lua at line 183
if (State.cursor_y + State.line_height) > App.screen.height thenif State.cursor_y > App.screen.height - State.line_height then - replacement in text.lua at line 192
if State.cursor_y >= App.screen.height - State.line_height thenif State.cursor_y > App.screen.height - State.line_height then