>>>>> "Richard" == Richard Heck <[EMAIL PROTECTED]> writes:
Richard> Jean-Marc Lasgouttes wrote: I'll try to do it today. >> This is the kind of stuff that can wait for after 1.5.0... >> Richard> If it were trivial, I'd do it, but it's not. You can't just Richard> check for the inset type, as an InsetNote will need to be Richard> counted if it's anything but a Type::Note. We could check for Richard> that explicitly in countWords, but that'd be hard to Richard> maintain. The best solution is probably to have the inset Richard> tell us whether we should count it. Or have a virtual Inset::countWords that does the counting. This way, InsetNote could either do nothing or call InsetText::countWords. InsetInclude can count words in child document, etc. It is fairly easy conceptually (except that we want to be able to count in a selection), but a bit of work. JMarc