Commit 958cbc56 authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #35178

parent a1653bc6
......@@ -356,6 +356,9 @@ ParaRun.prototype.Is_StartFromNewLine = function()
// Добавляем элемент в текущую позицию
ParaRun.prototype.Add = function(Item, bMath)
{
if (undefined !== Item.Parent)
Item.Parent = this;
if (this.Paragraph && this.Paragraph.LogicDocument && this.Paragraph.bFromDocument)
{
// Специальный код, связанный с обработкой изменения языка ввода при наборе.
......@@ -3962,6 +3965,10 @@ ParaRun.prototype.Refresh_RecalcData = function(Data)
Para.Refresh_RecalcData2(0);
}
};
ParaRun.prototype.Refresh_RecalcData2 = function()
{
this.Refresh_RecalcData();
};
ParaRun.prototype.SaveRecalculateObject = function(Copy)
{
var RecalcObj = new CRunRecalculateObject(this.StartLine, this.StartRange);
......
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