cut, copy, undo keyboard shortcuts in standalones
Posted: Mon Apr 15, 2013 7:22 pm
For user editing text in fields, I am finding that keyboard shortcuts for copy, cut, and undo do not work in standalones. These keyboard shortcuts work in development mode, and paste works in both dev and standalones. This behavior is seen in my LiveCode 5.0 and 6.0 versions on Mac (not tested in Win). All the keyboard shortcuts worked in Rev 4.5 standalones. Anyone else seeing this? Bug or feature? My workaround so far is to put these commands in stack script:
-- these need check, e.g., if word 1 of the focusedObject is "field" then...
on copyKey
copy the selection
end copyKey
on cutKey
copy the selection
delete the selection
end cutKey
on undoKey
undo
end undoKey
-- these need check, e.g., if word 1 of the focusedObject is "field" then...
on copyKey
copy the selection
end copyKey
on cutKey
copy the selection
delete the selection
end cutKey
on undoKey
undo
end undoKey