Commit 480d74be authored by Sergey.Luzyanin's avatar Sergey.Luzyanin

Bug 27771 - [Copy&Paste] Происходит выделение текста после его копипаста

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60060 954022d7-b5bf-4e40-9824-e11837661b57
parent fb58bc30
......@@ -2870,6 +2870,7 @@ PasteProcessor.prototype =
presentation.Insert_Content(presentationSelectedContent);
presentation.Recalculate();
presentation.Check_CursorMoveRight();
presentation.Document_UpdateInterfaceState();
},
......@@ -3388,6 +3389,7 @@ PasteProcessor.prototype =
{
presentation.Insert_Content(presentationSelectedContent);
presentation.Recalculate();
presentation.Check_CursorMoveRight();
presentation.Document_UpdateInterfaceState();
nodeDisplay.blur();
......@@ -3942,6 +3944,7 @@ PasteProcessor.prototype =
{
presentation.Insert_Content(presentationSelectedContent);
presentation.Recalculate();
presentation.Check_CursorMoveRight();
presentation.Document_UpdateInterfaceState();
nodeDisplay.blur();
......@@ -4058,9 +4061,9 @@ PasteProcessor.prototype =
presentationSelectedContent.Drawings = arr_shapes;
presentation.Insert_Content(presentationSelectedContent);
presentation.Recalculate();
presentation.Check_CursorMoveRight();
presentation.Document_UpdateInterfaceState();
nodeDisplay.blur();
......@@ -4239,8 +4242,8 @@ PasteProcessor.prototype =
presentationSelectedContent.Drawings = arrShapes;
presentation.Insert_Content(presentationSelectedContent);
presentation.Recalculate();
presentation.Check_CursorMoveRight();
presentation.Document_UpdateInterfaceState();
}
}
......
......@@ -3036,6 +3036,17 @@ CPresentation.prototype =
}
},
Check_CursorMoveRight : function()
{
if(this.Slides[this.CurPage])
{
if(this.Slides[this.CurPage].graphicObjects.getTargetDocContent(false, false))
{
this.Slides[this.CurPage].graphicObjects.cursorMoveRight(false, false);
}
}
},
Set_SelectionState : function(State)
{
if(State.CurPage > -1)
......
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