Fix regression in text widget

This commit is contained in:
airstruck
2016-01-30 15:35:00 -05:00
parent 4f03f6af52
commit 04fcd2c5f4

View File

@@ -266,9 +266,9 @@ end
-- Special keys. -- Special keys.
local function createDefaultKeyActions (self) local function createDefaultKeyActions (self)
return { return {
['return'] = function () -- dummy functions to trap events
-- just a dummy function to trap event ['return'] = function () end,
end, ['space'] = function () end,
['backspace'] = function () ['backspace'] = function ()
if not deleteRange(self) then if not deleteRange(self) then
deleteCharacterLeft(self) deleteCharacterLeft(self)