add args to some functions
[?]
Jul 8, 2022, 10:30 PM
4CXVIEBSQ5X62UYNJNSNMYKP24GE4IPO77T5ZWQW24QIK2BUQGWACDependencies
- [2]
CIQN2MDEbugfix: typing a capital letter deletes selection - [3]
HIKLULFQextract a function - [4]
SN2QONLIautosave on cut/paste - [5]
EMHRPJ3Rno, that's not right - [6]
R22PA3XRfix a second BSOD in #4 :/ - [7]
AVTNUQYRbasic test-enabled framework - [8]
XNFTJHC4split keyboard handling between Text and Drawing - [9]
73OCE2MCafter much struggle, a brute-force undo - [10]
KMRJOSLYbugfix: delete selection before pasting - [11]
DHI6IJCNselecting text and deleting selections - [12]
LS55YKGWswitch copy/paste to ctrl- hotkeys - [13]
SQLVYKVJrename - [14]
JFFUF5ALoverride mouse state lookups in tests - [15]
DRFE3B3Zmouse buttons are integers, not strings - [16]
JCSLDGAHbeginnings of support for multiple shapes - [17]
3EMBUWVWwhat should happen to selection while drawing? - [18]
Z4XRNDTRfind text - [19]
AYE2VEGJextract a couple of methods - [20]
FHSZYAZ2more precise search highlighting - [21]
LXTTOB33extract a couple of files - [22]
7EQLPB3Obugfix: don't delete selection when moving cursor - [23]
65XHTZEKregression: couldn't do many drawing operations because line.y was reset - [24]
OP643FFGmove - [25]
PX7DDEMOautosave slightly less aggressively - [26]
EMRPLZPWdrop an arg from a function - [27]
YW5324Q3bugfix: cut (C-x) without first selecting anything - [28]
4J2L6JMRbugfix: deleting a selection spanning pages - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
OTIBCAUJlove2d scaffold
Change contents
- replacement in text.lua at line 52
local lo, hi = Text.clip_selection(line_index, pos, pos+frag_len)local lo, hi = Text.clip_selection(line_index, pos, pos+frag_len, left, right) - replacement in text.lua at line 187
Text.delete_selection()Text.delete_selection(Margin_left, App.screen.width-Margin_right) - replacement in text.lua at line 228
Text.delete_selection()Text.delete_selection(Margin_left, App.screen.width-Margin_right) - replacement in select.lua at line 11
function Text.clip_selection(line_index, apos, bpos)function Text.clip_selection(line_index, apos, bpos, left, right) - replacement in select.lua at line 17
maxl,maxp = Text.mouse_pos()maxl,maxp = Text.mouse_pos(left, right) - replacement in select.lua at line 81
function Text.mouse_pos()function Text.mouse_pos(left, right) - replacement in select.lua at line 87
local line,pos = Text.to_pos(App.mouse_x(), App.mouse_y())local line,pos = Text.to_pos(App.mouse_x(), App.mouse_y(), left, right) - replacement in select.lua at line 95
function Text.to_pos(x,y)function Text.to_pos(x,y, left, right) - replacement in select.lua at line 105
function Text.cut_selection()function Text.cut_selection(left, right) - replacement in select.lua at line 108
Text.delete_selection()Text.delete_selection(left, right) - replacement in select.lua at line 112
function Text.delete_selection()function Text.delete_selection(left, right) - replacement in select.lua at line 116
Text.delete_selection_without_undo()Text.delete_selection_without_undo(left, right) - replacement in select.lua at line 120
function Text.delete_selection_without_undo()function Text.delete_selection_without_undo(left, right) - replacement in main.lua at line 437
Text.delete_selection()Text.delete_selection(Margin_left, App.screen.width-Margin_right) - replacement in main.lua at line 509
local s = Text.cut_selection()local s = Text.cut_selection(Margin_left, App.screen.width-Margin_right)