Commit 9f52c6a6 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с выделением после вставки

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57628 954022d7-b5bf-4e40-9824-e11837661b57
parent c2bbe387
...@@ -2741,10 +2741,12 @@ PasteProcessor.prototype = ...@@ -2741,10 +2741,12 @@ PasteProcessor.prototype =
if(false == this.bNested && nInsertLength > 0) if(false == this.bNested && nInsertLength > 0)
{ {
this.oRecalcDocument.Recalculate(); this.oRecalcDocument.Recalculate();
if(this.oLogicDocument.CurPos.Type !== docpostype_DrawingObjects)
if( this.oLogicDocument.CurPos.Type !== docpostype_DrawingObjects || true === this.oLogicDocument.DrawingObjects.isSelectedText() )
{ {
this.oLogicDocument.Cursor_MoveRight(false, false); this.oLogicDocument.Cursor_MoveRight(false, false);
} }
this.oLogicDocument.Document_UpdateInterfaceState(); this.oLogicDocument.Document_UpdateInterfaceState();
} }
......
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