Commit e0202078 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 32993

parent f2c65d52
...@@ -580,6 +580,9 @@ CPresentation.prototype = ...@@ -580,6 +580,9 @@ CPresentation.prototype =
}, },
Add_CompositeText: function(nCharCode) Add_CompositeText: function(nCharCode)
{ {
if (null === this.CompositeInput)
return;
this.Create_NewHistoryPoint(AscDFH.historydescription_Document_CompositeInputReplace);
this.addCompositeText(nCharCode); this.addCompositeText(nCharCode);
this.Recalculate(); this.Recalculate();
this.Document_UpdateSelectionState(); this.Document_UpdateSelectionState();
...@@ -606,6 +609,7 @@ CPresentation.prototype = ...@@ -606,6 +609,7 @@ CPresentation.prototype =
{ {
if (null === this.CompositeInput) if (null === this.CompositeInput)
return; return;
this.Create_NewHistoryPoint(AscDFH.historydescription_Document_CompositeInputReplace);
this.removeCompositeText(this.CompositeInput.Length); this.removeCompositeText(this.CompositeInput.Length);
for (var nIndex = 0, nCount = arrCharCodes.length; nIndex < nCount; ++nIndex) for (var nIndex = 0, nCount = arrCharCodes.length; nIndex < nCount; ++nIndex)
{ {
......
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