paste in text with M-v
[?]
May 27, 2022, 3:40 AM
G6OYAYHUSMSPKLRW52LQDAF4NBHFPWY3GZAHZZDLJY2ZL6NLTNEQCDependencies
- [2]
2HW3HUCGM-left/M-right for word-based motions - [*]
BULPIBEGbeginnings of a module for the text editor - [*]
XNFTJHC4split keyboard handling between Text and Drawing - [*]
2ZYV7D3Whandle tab characters - [*]
6LJZN727handle chords
Change contents
- edit in text.lua at line 742
if App.modifier_down() then return endlocal down = love.keyboard.isDown - edit in text.lua at line 798
end-- pasteelseif chord == 'M-v' thenlocal s = love.system.getClipboardText()for _,code in utf8.codes(s) doText.insert_at_cursor(utf8.char(code)) - edit in keychord.lua at line 26[7.1195]
function App.modifier_down()local down = love.keyboard.isDownreturn down('lctrl') or down('rctrl') or down('lalt') or down('ralt') or down('lgui') or down('rgui')end