switch to line index in a function
[?]
Jul 17, 2022, 4:37 PM
WZFMGVDTNVWZUX46RMEP5XHRZRBKL5G262VAQUWP5AYY7TRXN5XACDependencies
- [2]
IWYLK45Kclicking to the right of a line within line width - [3]
T57DTBX6add args to some functions - [4]
76AIXR7Hbugfix - [5]
IMEJA43Lsnapshot - [6]
BOFNXP5Gclicking now moves the cursor even on long, wrapped lines - [7]
2RXZ3PGObeginning of a new approach to scroll+wrap - [8]
4VKEE43Zbugfix - [9]
MYC7XR5Qbugfix: lines that aren't drawn from the start - [10]
BULPIBEGbeginnings of a module for the text editor - [11]
LF7BWEG4group all editor globals - [12]
5L7K4GBDclicking to the right of a wrapped line - [13]
J6WEC2D6.
Change contents
- replacement in text.lua at line 725
if screen_line_index < #line.screen_line_starting_pos and mx > Text.screen_line_width(line, screen_line_index) thenif screen_line_index < #line.screen_line_starting_pos and mx > Text.screen_line_width(State, line_index, screen_line_index) then - replacement in text.lua at line 738
function Text.screen_line_width(line, i)function Text.screen_line_width(State, line_index, i)local line = State.lines[line_index]