Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 24768 → Rev 24769

/trunk/Scribus/scribus/ui/search.cpp
571,6 → 571,8
m_doc->regionsChanged()->update(updateRect.adjusted(-10.0, -10.0, 10.0, 10.0));
}
}
if (found)
m_matchesFound++;
if ((!found) || (a == m_item->itemText.length()))
{
m_doc->DoDrawing = true;
702,7 → 704,6
replaceButton->setEnabled(true);
replaceAllButton->setEnabled(true);
}
m_matchesFound++;
m_firstMatchPosition = storyTextEdit->textCursor().selectionStart();
}
else
730,7 → 731,6
{
if (m_itemMode)
{
m_matchesFound++;
UndoTransaction transaction;
if (UndoManager::undoEnabled())
transaction = UndoManager::instance()->beginTransaction(m_item->getUName(), m_item->getUPixmap());
922,7 → 922,7
// ScMessageBox::information(this, tr("Search/Replace"), tr("Search finished));
// else
// {
ScMessageBox::information(this, tr("Search/Replace"), tr("Search finished. ") + tr("%1 match(es) found", "", m_matchesFound));
ScMessageBox::information(this, tr("Search/Replace"), tr("Search finished. ") + tr("%n match(es) found", "", m_matchesFound));
m_matchesFound = 0;
// }
}
/trunk/Scribus/scribus/ui/storyeditor.cpp
146,7 → 146,7
 
pmen->clear();
 
QString styleName = "";
QString styleName;
ParaStyleComboBox* paraStyleCombo = new ParaStyleComboBox(pmen);
paraStyleCombo->setDoc(m_editor->doc);
if ((currentPar < static_cast<int>(m_editor->StyledText.nrOfParagraphs())) && (m_editor->StyledText.length() != 0))