Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 21266 → Rev 21299

/branches/Version14x/Scribus/scribus/storyeditor.cpp
351,34 → 351,35
(k->modifiers() == (Qt::ControlModifier | Qt::ShiftModifier | Qt::KeypadModifier))
)
{
bool processed = false;
switch (k->key())
{
case Qt::Key_K:
moveCursor(QTextCursor::EndOfLine, QTextCursor::KeepAnchor);
textCursor().removeSelectedText();
processed = true;
break;
case Qt::Key_D:
moveCursor(QTextCursor::NextCharacter, QTextCursor::KeepAnchor);
textCursor().removeSelectedText();
processed = true;
break;
case Qt::Key_H:
moveCursor(QTextCursor::PreviousCharacter, QTextCursor::KeepAnchor);
textCursor().removeSelectedText();
processed = true;
break;
/*case Qt::Key_X:
cut();
return;
break;
case Qt::Key_V:
paste();
return;
break;*/
case Qt::Key_Y:
case Qt::Key_Z:
emit SideBarUp(true);
return;
break;
}
if (processed)
{
emit SideBarUp(true);
emit SideBarUpdate();
return;
}
}
if ((k->modifiers() == Qt::NoModifier) ||
(k->modifiers() == Qt::KeypadModifier) ||