Jean-Marc Lasgouttes wrote:
"Vincent van Ravesteijn - TNW" <v.f.vanraveste...@tudelft.nl> writes:
1. If we want to use the AtPoint mechanism for this, we should take this
argument into account when deciding to which Inset to relay. This would
mean to put lfun-specific code into LyXAction::dispatch (IIRC), which is
ugly.

The note inset can look at the argument and, if it is not equal to
"note", tell via getStatus that it does not want to handle this lfun.
Why is this complicated?

So we pass the LFUN recursively down to the most nested inset, where it is dispatched or not. Then the surrounding text inset can choose to do something supplementary, or not. Am I getting it right?

Abdel.

Reply via email to