The engine is supposed to call strongsPad where it is needed.  I did a quick search and found calls in:

SWLD::hasEntry

zLD::getEntry

zLD::setEntry

zLD::linkEntry

( cf. https://crosswire.org/svn/sword/trunk/src/modules/lexdict/zld/zld.cpp )

It is dependent on whether or not a module has the StrongsPadding=true in its .conf file.  All Strongs-keyed dictionaries should have this entry.

Hope this helps,

Troy


On 4/23/24 10:56, David "Judah's Shadow" Blue wrote:
On Tuesday, April 16, 2024 12:21:00 AM EDT Troy A. Griffitts wrote:
https://crosswire.org/svn/sword/trunk/src/modules/lexdict/swld.cpp

Have a look at SWLD::strongsPad

This method is supposed to be called everywhere Strongs numbers are dealt
with. It is supposed to ease the pain of dealing with the various ways
Strongs numbers are encoded.

If you find a use case which isn't working, let me know and we'll try to fix
it.
Just to clarify for my understanding should front-ends be calling
SWLD::strongsPad or is it supposed to be called for us?


_______________________________________________
sword-devel mailing list: sword-devel@crosswire.org
http://crosswire.org/mailman/listinfo/sword-devel
Instructions to unsubscribe/change your settings at above page
_______________________________________________
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