Abdelrazak Younes <[EMAIL PROTECTED]> writes: > Because conceptually Text doesn't know where the cursor is, only > Cursor itself knows. So Cursor should ask the current paragraph if it > is a TOC type or not. Absolutely no property of Text is used during > this decision process. This way, we won't have to check > Text::getStatus() of all nested insets:
But as soon as one getStatus returns true (meaning "I know the answer to your question"), there are no calls to the getStatus of the other levels. I do not think we can do really better... JMarc