Commit f9cd78e0 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@54607 954022d7-b5bf-4e40-9824-e11837661b57
parent db70c759
...@@ -908,6 +908,9 @@ function ParaComment(Start, Id) ...@@ -908,6 +908,9 @@ function ParaComment(Start, Id)
this.StartLine = 0; this.StartLine = 0;
this.StartRange = 0; this.StartRange = 0;
this.Lines = new Array();
this.LinesLength = 0;
} }
ParaComment.prototype = ParaComment.prototype =
...@@ -979,9 +982,11 @@ ParaComment.prototype = ...@@ -979,9 +982,11 @@ ParaComment.prototype =
Save_Lines : function() Save_Lines : function()
{ {
var CommentLines = new CParagraphLinesInfo(this.StartLine, this.StartRange);
return CommentLines;
}, },
Restore_Lines : function(SL) Restore_Lines : function(CommentLines)
{ {
}, },
......
...@@ -11557,6 +11557,9 @@ CDocument.prototype = ...@@ -11557,6 +11557,9 @@ CDocument.prototype =
this.Content[Pos].Hyperlink_Remove(); this.Content[Pos].Hyperlink_Remove();
} }
if ( true === Debug_ParaRunMode )
this.Recalculate();
this.Document_UpdateInterfaceState(); this.Document_UpdateInterfaceState();
}, },
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
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