optimization: moving cursor to next word
[?]
Jul 5, 2022, 6:27 PM
62PZGSUCEXJOCVWEOOENSDJITJFR27BGW7BPGFYVD3E5M6446RQQCDependencies
- [2]
YJJ4X4JGbugfix: avoid scrolling on 'end' - [3]
ZPUQSPQPextract a few methods - [4]
XNFTJHC4split keyboard handling between Text and Drawing - [5]
SVJZZDC3snapshot - no, that's all wrong - [6]
MP2TBKU6bugfix: crash in Text.up() after return - [7]
2RXZ3PGObeginning of a new approach to scroll+wrap - [8]
DHI6IJCNselecting text and deleting selections - [9]
HTWAM4NZbugfix: scrolling in left/right movements - [10]
DLQMM265scroll past first page - [11]
PYGMASTVdisable some debug prints - [12]
TRNWIQN6more precise height calculation when scrolling up as much as possible while keeping cursor on screen - [13]
MDXGMZU2disable all debug prints - [14]
ESETRNLBbugfix: printing the first part of a line at the bottom made it seem non-wrapping - [15]
V5MJRFOZbugfix: down arrow doesn't scroll up unnecessarily - [16]
KECEMMMRextract couple of functions - [17]
PR4KIAZDfirst stab at equally hacky cursor down support - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
242L3OQXbugfix: ensure Cursor_line is always on a text line - [*]
BTKAW76Lrename
Change contents
- replacement in text.lua at line 532
Text.right()Text.right_without_scroll() - edit in text.lua at line 538
endif Text.cursor_past_screen_bottom() thenText.snap_cursor_to_bottom_of_screen() - edit in text.lua at line 567
Text.right_without_scroll()if Text.cursor_past_screen_bottom() thenText.snap_cursor_to_bottom_of_screen()endendfunction Text.right_without_scroll() - edit in text.lua at line 587[3.1109]→[3.1321:1327](∅→∅),[3.1215]→[3.1321:1327](∅→∅),[3.1453]→[3.1321:1327](∅→∅),[3.1321]→[3.1321:1327](∅→∅),[3.1327]→[2.47:90](∅→∅),[2.90]→[3.6870:6913](∅→∅),[3.6870]→[3.6870:6913](∅→∅)
endif Text.cursor_past_screen_bottom() thenText.snap_cursor_to_bottom_of_screen() - edit in text.lua at line 630[20.540][21.183]
-- should never modify Cursor1