Commit 3eb7ea1c authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

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

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@62144 954022d7-b5bf-4e40-9824-e11837661b57
parent 55217784
......@@ -10527,6 +10527,7 @@ CDocument.prototype =
{
if ( false === this.Document_Is_SelectionLocked(changestype_Paragraph_Content) )
{
this.Create_NewHistoryPoint(historydescription_Document_SetTextHighlight2);
var ParaItem = null;
if ( this.HighlightColor != highlight_None )
{
......@@ -10540,7 +10541,6 @@ CDocument.prototype =
else
ParaItem = new ParaTextPr( { HighLight : this.HighlightColor } );
this.Create_NewHistoryPoint(historydescription_Document_SetTextHighlight2);
this.Paragraph_Add( ParaItem );
this.Cursor_MoveAt(X, Y, false);
this.Document_UpdateSelectionState();
......
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