Commit e0d64427 authored by Oleg.Korshul's avatar Oleg.Korshul

баг с сохранением позиции курсоров при ресайзе

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66699 954022d7-b5bf-4e40-9824-e11837661b57
parent 6baa58d8
...@@ -3125,6 +3125,7 @@ function CEditorPage(api) ...@@ -3125,6 +3125,7 @@ function CEditorPage(api)
{ {
var oWordControl = oThis; var oWordControl = oThis;
oWordControl.m_nTimeDrawingLast = new Date().getTime(); oWordControl.m_nTimeDrawingLast = new Date().getTime();
var isRepaint = oWordControl.m_bIsScroll;
if (oWordControl.m_bIsScroll) if (oWordControl.m_bIsScroll)
{ {
oWordControl.m_bIsScroll = false; oWordControl.m_bIsScroll = false;
...@@ -3148,6 +3149,7 @@ function CEditorPage(api) ...@@ -3148,6 +3149,7 @@ function CEditorPage(api)
oWordControl.CheckFontCache(); oWordControl.CheckFontCache();
} }
oWordControl.m_oDrawingDocument.Collaborative_TargetsUpdate(isRepaint);
} }
this.UpdateHorRuler = function() this.UpdateHorRuler = function()
......
...@@ -3799,6 +3799,7 @@ function CEditorPage(api) ...@@ -3799,6 +3799,7 @@ function CEditorPage(api)
return; return;
oWordControl.m_nTimeDrawingLast = new Date().getTime(); oWordControl.m_nTimeDrawingLast = new Date().getTime();
var isRepaint = oWordControl.m_bIsScroll;
if (oWordControl.m_bIsScroll) if (oWordControl.m_bIsScroll)
{ {
oWordControl.m_bIsScroll = false; oWordControl.m_bIsScroll = false;
...@@ -3817,6 +3818,7 @@ function CEditorPage(api) ...@@ -3817,6 +3818,7 @@ function CEditorPage(api)
oWordControl.CheckFontCache(); oWordControl.CheckFontCache();
oWordControl.m_oDrawingDocument.CheckTrackTable(); oWordControl.m_oDrawingDocument.CheckTrackTable();
} }
oWordControl.m_oDrawingDocument.Collaborative_TargetsUpdate(isRepaint);
} }
this.UpdateHorRuler = function() this.UpdateHorRuler = function()
......
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