Commit a7b541fe authored by Ilya Kirillov's avatar Ilya Kirillov

Fixed bug #34943. The behavior of the deleting process on adding a new...

Fixed bug #34943. The behavior of the deleting process on adding a new paragraph from now is just the same as on adding simple text.
parent 81c45a50
......@@ -11501,7 +11501,7 @@ CDocument.prototype.controller_AddNewParagraph = function(bRecalculate, bForceAd
// Сначала удаляем заселекченую часть
if (true === this.Selection.Use)
{
this.Remove(1, true);
this.Remove(1, true, false, true);
}
// Добавляем новый параграф
......
......@@ -2170,7 +2170,7 @@ CDocumentContent.prototype.AddNewParagraph = function()
// Сначала удаляем заселекченую часть
if (true === this.Selection.Use)
{
this.Remove(1, true);
this.Remove(1, true, false, true);
}
// Добавляем новый параграф
......
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