Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 138 → Rev 139

/trunk/Scribus/scribus/hyphenator.cpp
206,7 → 206,7
firstC = text.find(QRegExp("\\w"), firstC+Ccount);
if (firstC < 0)
break;
lastC = text.find(QRegExp("\\s|\\W|\\d|\\n|\\r"), firstC);
lastC = text.find(QRegExp("\\s|\\W|\\d|\\n|\\r|\\t"), firstC);
if (lastC < 0)
lastC = static_cast<int>(text.length());
Ccount = lastC - firstC;