bugfix
[?]
May 20, 2022, 3:02 PM
76AIXR7HAUL74GYPPFH3N5N4VJWZL67WM4XTKWGSA6ESLIJZPB6QCDependencies
- [2]
DAENUOGVeliminate assumptions that line length == size in bytes - [3]
BULPIBEGbeginnings of a module for the text editor - [4]
HYEAFRZ2split mouse_pressed events between Text and Drawing - [5]
5Q6NIG66bugfix - [6]
XNFTJHC4split keyboard handling between Text and Drawing - [7]
DLQMM265scroll past first page - [8]
BOFNXP5Gclicking now moves the cursor even on long, wrapped lines - [9]
5ED3YGHWplanning out cursor up/down over wrapped lines
Change contents
- replacement in text.lua at line 229
Cursor_pos = Text.nearest_cursor_pos(Lines[Cursor_line].data, old_x, Cursor_pos)Cursor_pos = Text.nearest_cursor_pos(Lines[Cursor_line].data, old_x) - replacement in text.lua at line 245
Cursor_pos = Text.nearest_cursor_pos(Lines[Cursor_line].data, old_x, Cursor_pos)Cursor_pos = Text.nearest_cursor_pos(Lines[Cursor_line].data, old_x) - replacement in text.lua at line 339
function Text.nearest_cursor_pos(line, x, hint)function Text.nearest_cursor_pos(line, x) - edit in text.lua at line 348
if hint thenlocal currx = Text.cursor_x(line, hint)if currx > x-2 and currx < x+2 thenreturn hintendend - edit in text.lua at line 349
if hint thenif currx > x thenright = hintelseleft = hintendend