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);
        text += " ";
        text += module->getKeyText();
        text += " ";
        text += module->stripText();
}

But I can only seem to get the last entry of the module.. I can't find any
examples to go by for what I am doing wrong or how to do a lexicon with a
single key.


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page

Reply via email to