- Subject: Re: RE: [jed-users] setting programming style
- From: Guenter Milde <milde@xxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 15 Jan 2003 17:05:49 +0100 (CET)
On Wed, 15 Jan 2003 11:57:33 +0100 wrote SANGOI DINO <SANGOID@xxxxxxxxxxxxxxxxx>:
> >
> > Also, is there any shortcut key to switch modes? (currently I
> > find myself
> > typing Ctrl-X-ESC c_set_style(...) quite a lot :P)
>
> I' don't think we can do this easily, as the list of styles is hardcoded,
> and the user may add some own styles using a hook. Adding a hardcoded
> submenu to the C mode menu should be fairly easy.
But of course you can add one in your .jedrc:
define c_mode_hook ()
{
local_setkey("c_set_style(\"my_style\")", "a_spare_key");
local_setkey("c_set_style(\"my_2nd_style\")", "a_2nd_spare_key");
% ...
}
See Help>Describe_Function local_setkey for the details
Günter
--
Milde at ife.et.tu-dresden.de
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2003 date index]
[2003 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]