From: Masatsugu Nagata (nagata@kurims.kyoto-u.ac.jp)
Date: 10 Mar 01, 02:31 EST
From: Masatsugu Nagata <nagata@kurims.kyoto-u.ac.jp> Subject: Feature-Request: (De)-Indent with tab Martin Girschick wrote: > >You can already do this with cmd-] and cmd-[, the Tab key already has > >_lots_ of bindings (see 'special keys' dialog). You can easily add this > >behaviour yourself to your prefs.tcl. > > Oh, that directly points to another problem: On german-keyboards it's > not so easy to press apple-[ because you get [ thru pressing > option-5. Alpha doesn't understand that, so perhaps that keys need to > be changed as well. > Martin, do you really see "cmd-]" shown on the 'Shift Right' item on the 'Edit' menu? If so, then you have not set up your Alpha configuration correctly. In that case, do this: - Open the Config>Preferences>Features dialog, and make sure that the 'International Menus' checkbox is checked. - Then, open the Config>Preferences>International dialog and choose 'German' from the 'Keyboard' popup menu. Then, there will be _nothing_ shown (no key combination bound) for the 'Shift Right' and 'Shift Left' items of the 'Edit' menu. (If you select 'French' rather than 'German', then 'Shift Right' will be bound to cmd-). Anyway, this is the choice made by the author of the 'intlMenu::euro_two'/'intlMenu::euro_two' procs in the 'internationalMenus.tcl' file.) Martin, if you want to bind command-option-5 and command-option-6 to shiftLeft and shiftRight, then you could paste the following two lines into your 'prefs.tcl' file (which is accessible by Config>Preferences>Edit_Prefs_File) Bind '5' <co> shiftLeft Bind '6' <co> shiftRight Save your 'prefs.tcl' file and quit and relaunch Alpha, then those new bindings will be active for you. Mark -- Mark Nagata mailto:nagata@kurims.kyoto-u.ac.jp _______________________________________________ AlphaTcl-developers mailing list AlphaTcl-developers@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/alphatcl-developers