Getting entry by key for a lexicon module.

"David \"Judah's Shadow\" Blue" <[email protected]>
Newsgroups gmane.comp.literature.sword.devel
Message-ID <3420048.zZPSaVhHWy@brooks>
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: [email protected]
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.