Commit 19ed4295 authored by Ilya.Kirillov's avatar Ilya.Kirillov

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

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