Subversion Repositories Scribus

Compare Revisions

Regard whitespace Rev 13617 → Rev 13616

/branches/Version135/Scribus/scribus/canvasmode_edit.cpp
391,8 → 391,6
}
if (currItem->asTextFrame())
{
int refStartSel(currItem->asTextFrame()->itemText.startOfSelection());
int refEndSel(currItem->asTextFrame()->itemText.endOfSelection());
currItem->itemText.deselectAll();
currItem->HasSel = false;
m_view->slotSetCurs(m->globalPos().x(), m->globalPos().y());
410,21 → 408,15
currItem->HasSel = true;
}
}
 
// currItem->update();
if(currItem->HasSel)
{
m_ScMW->EnableTxEdit();
m_canvas->m_viewMode.operTextSelecting = true;
if((refStartSel != currItem->asTextFrame()->itemText.startOfSelection())
|| (refEndSel != currItem->asTextFrame()->itemText.endOfSelection()))
{
QRectF br(currItem->getBoundingRect());
m_canvas->update(QRectF(m_canvas->canvasToLocal(br.topLeft()), br.size() * m_canvas->scale()).toRect());
}
}
else
m_ScMW->DisableTxEdit();
 
m_canvas->update();
}
}
//Operations run here:
1005,9 → 997,6
m_view->requestMode(modeNormal);
return;
}
else
currItem->asTextFrame()->deselectAll();
 
if (m->button() != Qt::RightButton)
{
//<<CB Add in shift select to text frames