Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 22129 → Rev 22130

/trunk/Scribus/scribus/text/storytext.cpp
381,6 → 381,14
if (index == strLen)
{
foundIndex = i;
while ((index + i + diacriticsCounter) < storyLen)
{
const QChar &curChar = d->at(index + diacriticsCounter + i)->ch;
if (!SpecialChars::isArabicModifierLetter(curChar.unicode()) && (curChar.category() != QChar::Mark_NonSpacing))
break;
++diacriticsCounter;
}
 
if (pLen)
*pLen = strLen + diacriticsCounter;
break;