add args to some functions
[?]
Jul 8, 2022, 10:45 PM
K4OBZSHEBIZBAKPH3F7ASDGCPLB7D5W5QLFJQYSM5XOYDPB4BUHACDependencies
- [2]
CTJ3IZGSadd args to some functions - [3]
QLTJG7Q3indent - [4]
FYS7TCDWbugfix - [5]
M6TH7VSZrip out notion of Line_width - [6]
U52E2XZNfix a crash - [7]
5FW7YOFThighlight selection while dragging - [8]
4VKEE43Zbugfix - [9]
R22PA3XRfix a second BSOD in #4 :/ - [10]
LXTTOB33extract a couple of files - [11]
OP643FFGmove - [12]
RMKMPFT5fix a corner case when selecting text - [13]
5DOTWNVMright margin - [14]
WOXIYUTLbugfix: manage screen_top and cursor when resizing - [15]
EMRPLZPWdrop an arg from a function - [16]
J5IEBT64enforce press/release state only processed once - [17]
HYEAFRZ2split mouse_pressed events between Text and Drawing - [18]
BOFNXP5Gclicking now moves the cursor even on long, wrapped lines - [19]
CBPV5SSIstop handling nil screen_line_starting_pos everywhere - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
OTIBCAUJlove2d scaffold
Change contents
- replacement in text.lua at line 675
function Text.to_pos_on_line(line, mx, my)--? print('Text.to_pos_on_line', mx, my, 'width', App.screen.width-Margin_right)function Text.to_pos_on_line(line, mx, my, left, right) - replacement in text.lua at line 950
pos=Text.to_pos_on_line(line, App.screen.width-5, App.screen.height-5),pos=Text.to_pos_on_line(line, App.screen.width-5, App.screen.height-5, left, right), - replacement in select.lua at line 99[4.54]→[4.46413:46471](∅→∅),[4.77]→[4.46413:46471](∅→∅),[2.139]→[4.46413:46471](∅→∅),[4.46413]→[4.46413:46471](∅→∅)
return line_index, Text.to_pos_on_line(line, x,y)return line_index, Text.to_pos_on_line(line, x,y, left, right) - replacement in main.lua at line 356
pos=Text.to_pos_on_line(line, x, y),pos=Text.to_pos_on_line(line, x, y, Margin_left, App.screen.width-Margin_right), - replacement in main.lua at line 392
pos=Text.to_pos_on_line(line, x, y),pos=Text.to_pos_on_line(line, x, y, Margin_left, App.screen.width-Margin_right),