[sword-devel] BibleCS LXX "Morph" problem
RLRANDALLX at aol.com
RLRANDALLX at aol.com
Mon Dec 17 00:36:08 MST 2007
Hi Guys!
I believe the "Morph" problem is from the following code
in "mainfrm.cpp" of BibleCS.
------------------------------------------------------
if ((i >= (lookupKey.Length()-1)) && (i)) {
lookupKey = TrimJunk(lookupKey);
String curLex = LexDictPageControl->ActivePage->Caption;
String feature = (DefaultVSKey->Testament() == 1)?"Hebrew":"Greek";
feature += (preChar == '(')?"Parse":"Def";
if (!strncmp(rtf->Name.c_str(), "TextRTFLXX", 10))
feature = "GreekDef"; //
<--------------------------------------------------------------- Problem code
if (!hasFeature(mainmgr, curLex.c_str(), feature.c_str())) {
SWBuf tmpval = optionsconf->Sections["ModDefaults"][feature.c_str()];
for (int i = 0; i < LexDictPageControl->PageCount; i++) {
if (!stricmp(LexDictPageControl->Pages[i]->Caption.c_str(), tmpval.c_str()))
{
LexDictPageControl->ActivePageIndex = i;
break;
}
}
}
}
------------------------------------------------------
In the middle [feature = "GreekDef";] should be [feature = "GreekParse";]
In "options.conf" I set [GreekDef=Packard] and got it to work. (But other
mods failed)
Below is what should be set for KJV, TR & LXX modules:
KJV O.T. Feature=HebrewDef=StrongsHebrew
Feature=HebrewParse=?????? <---------- Anybody working on this
module?
KJV N.T. Feature=GreekDef=StrongsGreek
Feature=GreekParse=Robinson
TR N.T. Feature=GreekDef=StrongsGreek
Feature=GreekParse=Robinson
LXX Feature=GreekDef=StrongsGreek
Feature=GreekParse=Packard
Unfortunately I could not find a module for "HebrewParse".
Ideally these settings should be set in the module ".conf" files.
For Example, "options.conf" should not lock-in "GreekParse" as it can be
Robinson or Packard.
In His Grace,
Robin
E-mail: RLRandallX at aol.com
**************************************See AOL's top rated recipes
(http://food.aol.com/top-rated-recipes?NCID=aoltop00030000000004)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.crosswire.org/pipermail/sword-devel/attachments/20071217/5d7823ea/attachment.html
More information about the sword-devel
mailing list