hschumann2/TempleOS-Source-Code
0847
1 2 Key Allocations3 4See Char for definition of scan codes.5 6See Key Map for a detailed list of key commands.7 8When you are at the cmd line, editing documents, browsing documentation and9help, entering items in forms or in menu's, the DolDoc editor handles keys. It10allows you to define your own key hndlrs in a MyPutKey() function. If you11choose, you can catch keys, overriding the default hndlrs. See DocPutKey().12The following is an overview of key allocations.13 14<ALT-keys> and <ALT-SHIFT-keys> Free for user configurations in your MyPutKey()15hndlr, except for ALT-BACKSPACE (undo). There are a few examples pre-defined,16but you can change them if you wish.17 18<CTRL-ALT-keys> and <CTRL-ALT-SHIFT-keys> Handled at a system level, NOT by the19CDoc editor. I reserve the right to alloc these, but in the mean time, you can20define your own hndlrs with CtrlAltCBSet(). They operate either in a interrupt21environment or in the window mgr when it queues kbd msgs. You can do Raw()22output. <CTRL-ALT-letter> hndlrs take a scan_code as an arg.23 24<CTRL-function key> Auto-completes local words.25 26<CTRL-digit key> Auto-completes dictionary words.27 28<CTRL-SHIFT-function key> Jumps to src code.29 30<CTRL-SHIFT-digit key> Jumps to dictionary definition.31 32<function keys> and <SHIFT-function keys> I reserve the right to alloc these,33but there are some free now.34 35<CTRL-key> and <CTRL-SHIFT-key> I reserve the right to alloc to these. There36are not many free.37 38See Keyboard Devices.39 