Commit 9971c54a authored by Ilya Kirillov's avatar Ilya Kirillov

Смержены изменения со старого бранча для автозамены в формулах.

parent 6128c4bd
...@@ -10384,11 +10384,11 @@ ParaRun.prototype.Get_TextForAutoCorrect = function(AutoCorrectEngine, RunPos) ...@@ -10384,11 +10384,11 @@ ParaRun.prototype.Get_TextForAutoCorrect = function(AutoCorrectEngine, RunPos)
var Item = this.Content[nPos]; var Item = this.Content[nPos];
if (para_Math_Text === Item.Type || para_Math_BreakOperator === Item.Type) if (para_Math_Text === Item.Type || para_Math_BreakOperator === Item.Type)
{ {
AutoCorrectEngine.Add_Text(String.fromCharCode(Item.value), this, nPos, RunPos); AutoCorrectEngine.Add_Text(String.fromCharCode(Item.value), this, nPos, RunPos, Item.Pos);
} }
else if (para_Math_Ampersand === Item.Type) else if (para_Math_Ampersand === Item.Type)
{ {
AutoCorrectEngine.Add_Text('&', this, nPos, RunPos); AutoCorrectEngine.Add_Text('&', this, nPos, RunPos, Item.Pos);
} }
if (Item === ActionElement) if (Item === ActionElement)
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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