On Monday, January 3, 2022 2:21:41 PM EST Troy A. Griffitts wrote:
> Hi David. You should skip the attempt to parse a verse list. Something
> simple like:
>
> module->setKeyText("Moses");
> SWBuf entryBody = module->renderText();
> SWBuf entryKey = module->getKeyText();
Ah yes, this is what I was
Hi David. You should skip the attempt to parse a verse list. Something
simple like:
module->setKeyText("Moses");
SWBuf entryBody = module->renderText();
SWBuf entryKey = module->getKeyText();
Notice the renderText call before the getKeyText call. renderText will
"snap" the requested key to the
Ok. So I'm looking at getting a specific key for a lexdict module. I tried the
same as I do for bibles/commentaries.
sword::ListKey refRange;
refRange = key.parseVerseList(reference.c_str(), key, true);
for(refRange = sword::TOP; !refRange.popError(); refRange++) {
module->setKey(refRange