Commit 5ddc8745 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

Bug 26586 - Не применяется одинарное зачеркивание текста через горячие клавиши для автофигуры

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60621 954022d7-b5bf-4e40-9824-e11837661b57
parent 977cb882
......@@ -2141,6 +2141,16 @@ CPresentation.prototype =
bRetValue = true;
}
}
else if ( e.KeyCode == 53 && false === editor.isViewMode && true === e.CtrlKey ) // Ctrl + 5 - делаем текст зачеркнутым
{
var TextPr = this.Get_Paragraph_TextPr();
if ( null != TextPr )
{
this.Paragraph_Add( new ParaTextPr( { Strikeout : TextPr.Strikeout === true ? false : true } ) );
this.Document_UpdateInterfaceState();
bRetValue = true;
}
}
else if ( e.KeyCode == 86 && false === editor.isViewMode && true === e.CtrlKey ) // Ctrl + V - paste
{
if ( false === this.Document_Is_SelectionLocked(changestype_Drawing_Props) )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment