Commit bc20eedc authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

Bug 28310 - [Copy&Paste] Курсор перемещается на один символ назад при вставке текста

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@60686 954022d7-b5bf-4e40-9824-e11837661b57
parent 00283242
...@@ -22864,7 +22864,7 @@ CTitle.prototype = ...@@ -22864,7 +22864,7 @@ CTitle.prototype =
} }
if(drawing_objects) if(drawing_objects)
{ {
drawing_objects.resetSelection(); drawing_objects.resetSelection(true);
var para_drawing; var para_drawing;
if(chart.group) if(chart.group)
{ {
......
...@@ -769,7 +769,7 @@ CShape.prototype.Set_CurrentElement = function(bUpdate, pageIndex) ...@@ -769,7 +769,7 @@ CShape.prototype.Set_CurrentElement = function(bUpdate, pageIndex)
if(this.parent) if(this.parent)
{ {
var drawing_objects = this.parent.graphicObjects; var drawing_objects = this.parent.graphicObjects;
drawing_objects.resetSelection(); drawing_objects.resetSelection(true);
if(this.group) if(this.group)
{ {
var main_group = this.group.getMainGroup(); var main_group = this.group.getMainGroup();
......
...@@ -626,7 +626,7 @@ CShape.prototype.hitInTextRect = function(x, y) ...@@ -626,7 +626,7 @@ CShape.prototype.hitInTextRect = function(x, y)
CShape.prototype.Set_CurrentElement = function(bUpdate, pageIndex) CShape.prototype.Set_CurrentElement = function(bUpdate, pageIndex)
{ {
var drawing_objects = editor.WordControl.m_oLogicDocument.DrawingObjects; var drawing_objects = editor.WordControl.m_oLogicDocument.DrawingObjects;
drawing_objects.resetSelection(); drawing_objects.resetSelection(true);
var para_drawing; var para_drawing;
if(this.group) if(this.group)
{ {
......
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