>>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes:

Lars> Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: |
Lars> >>>>> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: | |
Lars> Lars> We should make a way to ensure that LyXFunc are called
Lars> with the | Lars> correct number of arguments and also that the
Lars> arguments are of | Lars> the correct type. I think I have a nice
Lars> solution for | Lars> this...first we change the
Lars> LyXFunc::dispatch to a different type | Lars> of arg... | | This
Lars> seems nice, but we need a way to declare the types of the |
Lars> arguments of functions, or something like that.

Lars> Actually we don't _have_ to the LFUN case in LyXFunc will take
Lars> care of that:

Sure, we don't have to, but having this done in a central place
(LyXAction) and for all functions would be a major win, IMO. This
would also be a much better way of documenting them.

Of course, I do not know _how_ we would do that.

JMarc

Reply via email to