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

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

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