cut, copy, undo keyboard shortcuts in standalones

Anything beyond the basics in using the LiveCode language. Share your handlers, functions and magic here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Richard K. Herz
Posts: 20
Joined: Sun Apr 14, 2013 6:38 pm
Contact:

cut, copy, undo keyboard shortcuts in standalones

Post by Richard K. Herz » 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
Last edited by Richard K. Herz on Tue Apr 16, 2013 2:55 pm, edited 1 time in total.
Rich Herz
LiveCode work at ReactorLab.net

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: cut, copy, undo keyboard shortcuts in standalones

Post by jmburnod » Tue Apr 16, 2013 8:48 am

Hi Richard,

There is a thread about edit menu here:
http://forums.runrev.com/phpBB2/viewtop ... enu#p71455
I hope this help
Best regards
Jean-Marc
https://alternatic.ch

Richard K. Herz
Posts: 20
Joined: Sun Apr 14, 2013 6:38 pm
Contact:

Re: cut, copy, undo keyboard shortcuts in standalones

Post by Richard K. Herz » Tue Apr 16, 2013 3:04 pm

Jean-Marc,

Thank you. Looks like this is a feature and not a bug. I thought my standalones from Rev 4.5 and earlier didn't need this but maybe I'm mistaken.
Rich Herz
LiveCode work at ReactorLab.net

Post Reply

Return to “Talking LiveCode”