Commit 59dd4801 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

Исправлен баг с тем, что выделение маркером сбрасывалось после первого применения (баг 19676).

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49548 954022d7-b5bf-4e40-9824-e11837661b57
parent 961da65a
...@@ -1936,10 +1936,6 @@ function CDrawingDocument() ...@@ -1936,10 +1936,6 @@ function CDrawingDocument()
this.SearchClear(); this.SearchClear();
this.m_oWordControl.OnUpdateOverlay(); this.m_oWordControl.OnUpdateOverlay();
} }
if (true === this.m_oWordControl.m_oApi.isMarkerFormat)
{
this.m_oWordControl.m_oApi.sync_MarkerFormatCallback(false);
}
if (this.m_bIsBreakRecalculate) if (this.m_bIsBreakRecalculate)
{ {
......
...@@ -8374,7 +8374,7 @@ CDocument.prototype = ...@@ -8374,7 +8374,7 @@ CDocument.prototype =
this.Cursor_MoveLeft(false, false); this.Cursor_MoveLeft(false, false);
this.Document_UpdateSelectionState(); this.Document_UpdateSelectionState();
editor.sync_MarkerFormatCallback( false ); editor.sync_MarkerFormatCallback( true );
} }
} }
} }
......
...@@ -731,6 +731,9 @@ CHistory.prototype = ...@@ -731,6 +731,9 @@ CHistory.prototype =
{ {
this.Points[this.Index].Additional = new Object(); this.Points[this.Index].Additional = new Object();
} }
if ( true === editor.isMarkerFormat)
editor.sync_MarkerFormatCallback(false);
}, },
Get_EditingTime : function(dTime) Get_EditingTime : function(dTime)
......
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