man minput_lookup () - Lookup a text produced in the input context.

NAME

Inpu - Lookup a text produced in the input context.

SYNOPSIS

int minput_lookup (MInputContext * ic, MSymbol key, void * arg, MText * mt)

DESCRIPTION

The minput_lookup() function looks up a text in the input context ic. key must be the same one provided to the previous call of minput_filter().

If a text was produced by the input method, it is concatenated to M-text mt.

This function calls MInputDriver::lookup.

RETURN VALUE

If key was correctly handled by the input method, this function returns 0. Otherwise, returns -1, even in that case, some text may be produced in mt.