defano / wyldcard

A clone of Apple's HyperCard and HyperTalk scripting language.
https://github.com/defano/wyldcard/wiki
MIT License
122 stars 11 forks source link

WyldCard does not send CloseField messages and moves the cursor to the next text field when user presses a tab on a text field #120

Open ooper-zz opened 2 years ago

ooper-zz commented 2 years ago

The above is the HC behavior, to allow "tabbing" across fields. However, it also means you cannot add tabs. Perhaps we can make it behave that way ONLY if there are no other fields. @defano, please advise. Thanks!

defano commented 2 years ago

I would propose the way to handle this is similar to how many text editors handle soft returns: If the user presses ctrl-tab, a tab character is inserted into the contents of the field but if they just press tab then HyperCard's normal behavior occurs.

Should be easy to implement, I'd think...

ooper-zz commented 2 years ago

Yes, that's exactly how it should behave. I will take a look.