210,22 → 210,22 |
break; |
} |
QString uc = k->text(); |
|
if ((k->key() + KeyMod) == ScApp->scrActions["specialPageNumber"]->accel()) |
/*CB TODO |
if ((k->key() + KeyMod) == ScApp->Prefs.KeyActions[60].KeyID) |
{ |
insChars(QString(QChar(ScApp->scrActions["specialPageNumber"]->actionInt()))); |
insChars(QString(QChar(30))); PageNumbers |
insert("#"); |
emit SideBarUp(true); |
return; |
} |
if ((k->key() + KeyMod) == ScApp->scrActions["specialNonBreakingSpace"]->accel()) |
if ((k->key() + KeyMod) == ScApp->Prefs.KeyActions[67].KeyID) |
{ |
insChars(QString(QChar(ScApp->scrActions["specialNonBreakingSpace"]->actionInt()))); |
insChars(QString(QChar(29))); Non breakable Space |
insert("_"); |
emit SideBarUp(true); |
return; |
} |
|
*/ |
switch (k->state()) |
{ |
case ControlButton: |
915,7 → 915,7 |
hg->cstrikewidth = nextItem->itemText.at(a)->cstrikewidth; |
if ((Ccol == hg->ccolor) && (Ali == hg->cab) && (Csha == hg->cshade) && (Csty == hg->cstyle)) |
{ |
if (hg->ch == QChar(ScApp->scrActions["specialPageNumber"]->actionInt())) |
if (hg->ch == QChar(30)) |
{ |
setFarbe(Ccol, Csha); |
setAlign(Ali); |
926,7 → 926,7 |
chars->append(hg); |
continue; |
} |
else if (hg->ch == QChar(ScApp->scrActions["specialNonBreakingSpace"]->actionInt())) |
else if (hg->ch == QChar(29)) |
{ |
setFarbe(Ccol, Csha); |
setAlign(Ali); |