On Friday 07 September 2001 18:11, Jean-Marc Lasgouttes wrote:
> >>>>> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
>
> >> Alternatively, this message could be output explicitely in the
> >> places where we want it, i.e. in menu, toolbar and keybinding code.
>
> Angus> Makes sense, but this is a big change and we're trying to avoid
> Angus> those at the moment.
>
> Are you sure it is a big change? There are not so many places where
> this is needed.
>
> Angus> So, the question goes, shall I apply this band aid or shall I
> Angus> leave the bug as a WONT FIX?
>
> I do not really like this test against LFUN_MESSAGE. I'd rather have
> an option to dispatch().
I didn't really take in that option. So you'd like me to redefine dispatch:
class LyXFunc {
public
/// LyX dispatcher, executes lyx actions.
string const dispatch(int action, string const & arg = string(),
bool silently= false);
/// The same but uses the name of a lyx command.
string const dispatch(string const & cmd,
bool silently= false);
}
and to use this appropriately?
Angus