Commit 39d3528b authored by Oleg Korshul's avatar Oleg Korshul

баг с набором минуса вместо символов

parent 052689a0
......@@ -2767,25 +2767,20 @@ CPresentation.prototype =
}
else if ( e.KeyCode == 189 && false === editor.isViewMode ) // Клавиша Num-
{
this.DrawingDocument.TargetStart();
this.DrawingDocument.TargetShow();
if ((true === e.CtrlKey && true === e.ShiftKey) && (AscCommon.CollaborativeEditing.Is_Fast() ||
editor.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Drawing_Props) === false))
{
this.DrawingDocument.TargetStart();
this.DrawingDocument.TargetShow();
if(AscCommon.CollaborativeEditing.Is_Fast() || editor.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Drawing_Props) === false) {
History.Create_NewPoint(AscDFH.historydescription_Presentation_ParagraphAdd);
var Item = null;
if ( true === e.CtrlKey && true === e.ShiftKey )
{
Item = new ParaText( String.fromCharCode( 0x2013 ) );
Item.SpaceAfter = false;
}
else if ( true === e.ShiftKey )
Item = new ParaText( "_" );
else
Item = new ParaText( "-" );
var Item = new ParaText( String.fromCharCode( 0x2013 ) );
Item.SpaceAfter = false;
this.Paragraph_Add( Item );
bRetValue = keydownresult_PreventAll;
}
bRetValue = keydownresult_PreventAll;
}
else if ( e.KeyCode == 190 && true === e.CtrlKey ) // Ctrl + .
{
......
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