|
|
|
|
@ -93,18 +93,18 @@ void StrongsResultClass::initStrongsResults(void) {
|
|
|
|
|
while ((rText = getStrongsNumberText(text, &sIndex)) != "")
|
|
|
|
|
{
|
|
|
|
|
StrongsResultList::iterator it;
|
|
|
|
|
found = FALSE;
|
|
|
|
|
found = false;
|
|
|
|
|
for ( it = srList.begin(); it != srList.end(); ++it )
|
|
|
|
|
{
|
|
|
|
|
lText = (*it).keyText();
|
|
|
|
|
if (lText == rText)
|
|
|
|
|
{
|
|
|
|
|
found = TRUE;
|
|
|
|
|
found = true;
|
|
|
|
|
(*it).addKeyName(key);
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
if (found == FALSE)
|
|
|
|
|
if (found == false)
|
|
|
|
|
srList.append( StrongsResult(rText, key) );
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -525,7 +525,7 @@ const TQString CSearchResultPage::highlightSearchedText(const TQString& content,
|
|
|
|
|
length = word.length() - 1;
|
|
|
|
|
word.replace('*', "\\S*"); //match within a word
|
|
|
|
|
findExp = TQRegExp(word);
|
|
|
|
|
findExp.setMinimal(TRUE);
|
|
|
|
|
findExp.setMinimal(true);
|
|
|
|
|
}
|
|
|
|
|
else {
|
|
|
|
|
length = word.length();
|
|
|
|
|
|