mouse buttons are integers, not strings
[?]
Jun 14, 2022, 4:05 PM
DRFE3B3ZKRG4RY2R5Q3SDFD3LH4EXUX3CZCDFBNAXVI2SLDS57PACDependencies
- [2]
Y2ZIPXEMnew test - [3]
4VKEE43Zbugfix - [4]
BLWAYPKVextract a module - [5]
2RXZ3PGObeginning of a new approach to scroll+wrap - [6]
F3OOGMMEswitch freehand hotkey to eliminate conflict with search - [7]
7NQCCB34. - [8]
252M2QMDforgot to move this special case out - [9]
LXTTOB33extract a couple of files - [10]
JFFUF5ALoverride mouse state lookups in tests - [11]
WAR3HXHTtest both ways of selecting text with mouse - [12]
PFT5Y2ZYmove - [13]
WTDKUACNrectangle and square shapes - [14]
VCMS2CWTbugfix: escape key to hide online help - [15]
XNFTJHC4split keyboard handling between Text and Drawing - [16]
LS55YKGWswitch copy/paste to ctrl- hotkeys - [17]
YCDYGEZUinclude drawing index in a few places - [18]
G3C4FKPRbugfix: missed fixing a callsite - [19]
TVM2WIHHbugfix: autosave and undo in a couple of cases - [20]
IDG26SXKbugfix in commit e51ce12969 - [21]
DHI6IJCNselecting text and deleting selections - [22]
2MA33THZfew more transitions between shapes - [23]
HOSPP2ANcrisp font rendering - [24]
JAXPXLEBset current_drawing_index with current_drawing - [25]
H4K2GFILexperiment: give up on changing shape mode - [26]
7OUJM7DLone missing transition between shape modes - [27]
WSXSEZQ2switch circles to 'o' to avoid conflicting with copy - [28]
ZLJGZYQGselect text with shift + mouseclick - [29]
SN2QONLIautosave on cut/paste - [30]
BYG5CEMVsupport for naming points - [31]
RMKMPFT5fix a corner case when selecting text - [32]
NQWWTGXRswitch undo/redo to ctrl- hotkeys - [33]
VHQCNMARseveral more modules - [34]
OIB2QPRCstart remembering where the cursor is drawn in px - [35]
Z4XRNDTRfind text - [36]
RT6EV6OPdelegate update events to drawings - [37]
7SFHSB47rename - [38]
65XHTZEKregression: couldn't do many drawing operations because line.y was reset - [39]
5FW7YOFThighlight selection while dragging - [40]
6UZ2JNZEyet another key conflict - [41]
3TCZ7ADHmove - [42]
4QQBMWLLregression: typing uppercase letters in text - [43]
2ZYV7D3Whandle tab characters - [44]
LUNH47XXmake text and drawings the same width - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
OTIBCAUJlove2d scaffold
Change contents
- replacement in text_tests.lua at line 38
App.run_after_mouse_click(screen_left_margin+8,Margin_top+5, '1')App.run_after_mouse_click(screen_left_margin+8,Margin_top+5, 1) - replacement in text_tests.lua at line 150
App.run_after_mouse_click(App.screen.width-2,y-2, '1')App.run_after_mouse_click(App.screen.width-2,y-2, 1) - replacement in text_tests.lua at line 246
App.run_after_mouse_release(screen_left_margin+8,Margin_top+5, '1')App.run_after_mouse_release(screen_left_margin+8,Margin_top+5, 1) - replacement in text_tests.lua at line 265
App.run_after_mouse_press(screen_left_margin+8,Margin_top+5, '1')App.run_after_mouse_press(screen_left_margin+8,Margin_top+5, 1) - replacement in text_tests.lua at line 267
App.run_after_mouse_release(screen_left_margin+20,Margin_top+Line_height+5, '1')App.run_after_mouse_release(screen_left_margin+20,Margin_top+Line_height+5, 1) - replacement in text_tests.lua at line 286
App.run_after_mouse_press(screen_left_margin+8,Margin_top+5, '1')App.run_after_mouse_release(screen_left_margin+8,Margin_top+5, '1')App.run_after_mouse_press(screen_left_margin+8,Margin_top+5, 1)App.run_after_mouse_release(screen_left_margin+8,Margin_top+5, 1) - replacement in text_tests.lua at line 290
App.run_after_mouse_press(screen_left_margin+20,Margin_top+5, '1')App.run_after_mouse_release(screen_left_margin+20,Margin_top+Line_height+5, '1')App.run_after_mouse_press(screen_left_margin+20,Margin_top+5, 1)App.run_after_mouse_release(screen_left_margin+20,Margin_top+Line_height+5, 1) - replacement in text_tests.lua at line 311
App.run_after_mouse_press(screen_left_margin+8,Margin_top+5, '1')App.run_after_mouse_release(screen_left_margin+8,Margin_top+5, '1')App.run_after_mouse_press(screen_left_margin+8,Margin_top+5, 1)App.run_after_mouse_release(screen_left_margin+8,Margin_top+5, 1) - replacement in text_tests.lua at line 315
App.run_after_mouse_press(screen_left_margin+20,Margin_top+5, '1')App.run_after_mouse_release(screen_left_margin+20,Margin_top+Line_height+5, '1')App.run_after_mouse_press(screen_left_margin+20,Margin_top+5, 1)App.run_after_mouse_release(screen_left_margin+20,Margin_top+Line_height+5, 1) - replacement in text_tests.lua at line 319
App.run_after_mouse_press(screen_left_margin+20,Margin_top+5, '1')App.run_after_mouse_release(screen_left_margin+8,Margin_top+Line_height+5, '1')App.run_after_mouse_press(screen_left_margin+20,Margin_top+5, 1)App.run_after_mouse_release(screen_left_margin+8,Margin_top+Line_height+5, 1) - replacement in text_tests.lua at line 958
App.run_after_mouse_release(screen_left_margin+8,Margin_top+Line_height*2+5, '1')App.run_after_mouse_release(screen_left_margin+8,Margin_top+Line_height*2+5, 1) - replacement in text.lua at line 141
if App.mouse_down('1') then return endif App.mouse_down(1) then return end - replacement in select.lua at line 16
if App.mouse_down('1') thenif App.mouse_down(1) then - replacement in main.lua at line 58
Old_cursor1, Old_selection1, Mousepress_shift = nil -- some extra state to compute selection between mousepress and mousereleaseOld_cursor1, Old_selection1, Mousepress_shift = nil -- some extra state to compute selection between mouse press and release - replacement in main.lua at line 453
elseif App.mouse_down('1') or chord:sub(1,2) == 'C-' thenelseif App.mouse_down(1) or chord:sub(1,2) == 'C-' then - replacement in main.lua at line 462
elseif chord == 'escape' and App.mouse_down('1') thenelseif chord == 'escape' and App.mouse_down(1) then - replacement in main.lua at line 467
elseif chord == 'escape' and not App.mouse_down('1') thenelseif chord == 'escape' and not App.mouse_down(1) then - replacement in drawing.lua at line 18
if App.mouse_down('1') and love.keyboard.isDown('h') thenif App.mouse_down(1) and love.keyboard.isDown('h') then - replacement in drawing.lua at line 236
if App.mouse_down('1') thenif App.mouse_down(1) then - replacement in drawing.lua at line 352
if chord == 'C-p' and not App.mouse_down('1') thenif chord == 'C-p' and not App.mouse_down(1) then - replacement in drawing.lua at line 354
elseif chord == 'C-g' and not App.mouse_down('1') thenelseif chord == 'C-g' and not App.mouse_down(1) then - replacement in drawing.lua at line 356
elseif App.mouse_down('1') and chord == 'g' thenelseif App.mouse_down(1) and chord == 'g' then - replacement in drawing.lua at line 371
elseif chord == 'C-r' and not App.mouse_down('1') thenelseif chord == 'C-r' and not App.mouse_down(1) then - replacement in drawing.lua at line 373
elseif App.mouse_down('1') and chord == 'r' thenelseif App.mouse_down(1) and chord == 'r' then - replacement in drawing.lua at line 388
elseif chord == 'C-s' and not App.mouse_down('1') thenelseif chord == 'C-s' and not App.mouse_down(1) then - replacement in drawing.lua at line 390
elseif App.mouse_down('1') and chord == 's' thenelseif App.mouse_down(1) and chord == 's' then - replacement in drawing.lua at line 409
elseif App.mouse_down('1') and chord == 'p' and (Current_drawing_mode == 'polygon' or Current_drawing_mode == 'rectangle' or Current_drawing_mode == 'square') thenelseif App.mouse_down(1) and chord == 'p' and (Current_drawing_mode == 'polygon' or Current_drawing_mode == 'rectangle' or Current_drawing_mode == 'square') then - replacement in drawing.lua at line 414
elseif chord == 'C-o' and not App.mouse_down('1') thenelseif chord == 'C-o' and not App.mouse_down(1) then - replacement in drawing.lua at line 416
elseif App.mouse_down('1') and chord == 'a' and Current_drawing_mode == 'circle' thenelseif App.mouse_down(1) and chord == 'a' and Current_drawing_mode == 'circle' then - replacement in drawing.lua at line 424
elseif App.mouse_down('1') and chord == 'o' thenelseif App.mouse_down(1) and chord == 'o' then - replacement in drawing.lua at line 435
elseif App.mouse_down('1') and chord == 'l' thenelseif App.mouse_down(1) and chord == 'l' then - replacement in drawing.lua at line 446
elseif chord == 'C-l' and not App.mouse_down('1') thenelseif chord == 'C-l' and not App.mouse_down(1) then - replacement in drawing.lua at line 448
elseif App.mouse_down('1') and chord == 'm' thenelseif App.mouse_down(1) and chord == 'm' then - replacement in drawing.lua at line 461
elseif chord == 'C-m' and not App.mouse_down('1') thenelseif chord == 'C-m' and not App.mouse_down(1) then - replacement in drawing.lua at line 463
elseif chord == 'C-s' and not App.mouse_down('1') thenelseif chord == 'C-s' and not App.mouse_down(1) then - replacement in drawing.lua at line 468
elseif chord == 'C-u' and not App.mouse_down('1') thenelseif chord == 'C-u' and not App.mouse_down(1) then - replacement in drawing.lua at line 479
elseif App.mouse_down('1') and chord == 'v' thenelseif App.mouse_down(1) and chord == 'v' then - replacement in drawing.lua at line 490
elseif chord == 'C-n' and not App.mouse_down('1') thenelseif chord == 'C-n' and not App.mouse_down(1) then - replacement in drawing.lua at line 503
elseif chord == 'C-d' and not App.mouse_down('1') thenelseif chord == 'C-d' and not App.mouse_down(1) then - replacement in drawing.lua at line 526
elseif chord == 'C-h' and not App.mouse_down('1') thenelseif chord == 'C-h' and not App.mouse_down(1) then