rename modifier_down to key_down
[?]
Jun 6, 2023, 5:21 AM
7IDHIAYI6QD7HU7VGOVO2FA7IG3NGD4TDH2Q2WPRDVXUR44OSFOQCDependencies
- [2]
N2NUGNN4include a brief reference enabling many useful apps - [3]
G6OYAYHUpaste in text with M-v - [4]
ETM7ENJRsome helpers - [5]
HXH4AIF2primitives for writing tests - [6]
JFFUF5ALoverride mouse state lookups in tests - [7]
3HDWCPDIbugfix: include shift keys in modifier_down - [8]
ZLJGZYQGselect text with shift + mouseclick - [9]
7EQLPB3Obugfix: don't delete selection when moving cursor - [10]
2CK5QI7Wmake love event names consistent - [11]
4QQBMWLLregression: typing uppercase letters in text - [12]
JF5L2BBStest harness now supports copy/paste - [13]
PX7DDEMOautosave slightly less aggressively - [14]
AD34IX2Zcouple more tests - [15]
AVTNUQYRbasic test-enabled framework - [16]
H5UZI3YNeditor documentation - [*]
6LJZN727handle chords - [*]
3QNOKBFMbeginnings of a test harness
Change contents
- replacement in reference.md at line 254
* `App.modifier_down(key)` -- returns `true` if the given key (doesn'tactually have to be just a modifier) is currently pressed.* `App.key_down(key)` -- returns `true` if the given key is currently pressed. - replacement in keychord.lua at line 37
return App.modifier_down('lctrl') or App.modifier_down('rctrl')return App.key_down('lctrl') or App.key_down('rctrl') - replacement in keychord.lua at line 41
return App.modifier_down('lalt') or App.modifier_down('ralt')return App.key_down('lalt') or App.key_down('ralt') - replacement in keychord.lua at line 45
return App.modifier_down('lshift') or App.modifier_down('rshift')return App.key_down('lshift') or App.key_down('rshift') - replacement in keychord.lua at line 49
return App.modifier_down('lgui') or App.modifier_down('rgui')return App.key_down('lgui') or App.key_down('rgui') - replacement in app.lua at line 232
function App.modifier_down(key)function App.key_down(key) - replacement in app.lua at line 447
App.modifier_down = love.keyboard.isDownApp.key_down = love.keyboard.isDown