Re: [sword-devel] Efficiently extracting section + chapter headers

2022-01-08 Thread Troy A. Griffitts
Sorry Tobias, Yes, I incorrectly told you to call setIntros on SWModule instead of VerseKey. - module->setIntros(true); + ((VerseKey *)module->getKey())->setIntros(true); That's a bit ugly typed from my phone, with no check to be sure the cast succeeds, but should get the point across. I shoul

Re: [sword-devel] Efficiently extracting section + chapter headers

2022-01-08 Thread Tobias Klein
Hi Troy, Thank you so much for looking into this! setIntros is not available on SWModule, but only on SWKey. I suppose the setIntros must be used like this? SWKey*key= module->getKey(); VerseKey*verseKey= SWDYNAMIC_CAST(VerseKey, key); *verseKey**->**setIntros**(**true**);* ListKeyscope= verse