On 10.06.05, Lars Gullik Bj�nnes wrote:
> "G. Milde" <[EMAIL PROTECTED]> writes:
>
> | IMHO, it would be easier the other way round (put the info into
> | LyXAction in the first place).
> >
> | - { LFUN_ACUTE, "accent-acute", Noop },
> | + { LFUN_ACUTE, "accent-acute", Noop, "", ""},
>
> this is more or less exactly what we had.
So it should pose no problem to reintroduce :-)
> What do you want these strings to contain?
Argument list and Synopsis, e.g.
{ LFUN_WRITEAS, "buffer-write-as", ReadOnly, "name", "Save buffer under new
name" },
I an still unsure about the requirements for the argument list:
1. just a (telling) name of the expected argument(s)
2. name and type the argument will be converted to
(e.g. "String name", "Int x, Int y")
3. More detailled info about the set to choose values from.
E.g. { LFUN_MENU_OPEN_BY_NAME, "menu-open", NoBuffer, }
would get "String menu-name (from the menus defined in default.ui)"
Variant 1. is most concise and with carefully chosen names will imply the
type. Detailled info (3.) might be confered to the full description
(outside the source code).
G�nter
--
G.Milde web.de