Shift-Enter to invoke commands in Oberon
A small change to the Write procedure in TextFrames.Mod allows you to invoke commands from the keyboard using shift-enter. I wrote it up in a tech note: https://github.com/io-core/technotes/blob/master/technote012.md Best Regards, Chuck
Oberon belongs to the family of "literate programming". Ie. everything is written-down/recorded & followed. I don't want-to/need-to remember if it's spelled: kybrd, KeyBrd, … When I see the valid token, I'll correctly recognise it. Ie. See>Recognize>Select instead of [like my dog] remember>do. ---- OTOH can your code be modified/used to eg. press <F2>, to save the <currently being-edited text frame>, where the user *IS* entering new tokens/original-ideas, and it's inconvenient to move the hand/s from kybrd to mouse? On 6/10/19, Charles Perkins <chuck@kuracali.com> wrote:
A small change to the Write procedure in TextFrames.Mod allows you to invoke commands from the keyboard using shift-enter. I wrote it up in a tech note:
https://github.com/io-core/technotes/blob/master/technote012.md
Best Regards, Chuck
participants (2)
-
Charles Perkins -
eas lab