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