Commit 8866b26a authored by Anna.Pavlova's avatar Anna.Pavlova Committed by Alexander.Trofimov

Удаление GroupChar

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68214 954022d7-b5bf-4e40-9824-e11837661b57
parent 05873d59
......@@ -3020,8 +3020,7 @@ var c_oMathMenuAction = {
DeleteManualBreak : 0x00004000,
AlignToCharacter : 0x00008000,
RemoveDelimiter : 0x00010000,
RemoveGroupChar : 0x00020000,
RemoveRadical : 0x00040000
RemoveRadical : 0x00020000
};
......@@ -3147,10 +3146,6 @@ CMathMenuBase.prototype.remove_DelimiterCharacters = function()
{
this.Action |= c_oMathMenuAction.RemoveDelimiter;
};
CMathMenuBase.prototype.remove_GroupCharacter = function()
{
this.Action |= c_oMathMenuAction.RemoveGroupChar;
};
CMathMenuBase.prototype.remove_Radical = function()
{
this.Action |= c_oMathMenuAction.RemoveRadical;
......@@ -3179,5 +3174,4 @@ CMathMenuBase.prototype["delete_ManualBreak"] = CMathMenuBase.prototype
CMathMenuBase.prototype["can_AlignToCharacter"] = CMathMenuBase.prototype.can_AlignToCharacter;
CMathMenuBase.prototype["align_ToCharacter"] = CMathMenuBase.prototype.align_ToCharacter;
CMathMenuBase.prototype["remove_DelimiterCharacters"] = CMathMenuBase.prototype.remove_DelimiterCharacters;
CMathMenuBase.prototype["remove_GroupCharacter"] = CMathMenuBase.prototype.remove_GroupCharacter;
CMathMenuBase.prototype["remove_Radical"] = CMathMenuBase.prototype.remove_Radical;
......@@ -4829,7 +4829,7 @@ CMathContent.prototype.Delete_ItemToContentThroughInterface = function(Props, Po
RemoveMatrix = Props.Type == c_oAscMathInterfaceType.Matrix && this.Content[Pos].Is_DeletedItem(Props.Action),
RemoveEqArray = Props.Type == c_oAscMathInterfaceType.EqArray && this.Content[Pos].Is_DeletedItem(Props.Action),
RemoveDelimiter = Props.Action & c_oMathMenuAction.RemoveDelimiter && Item.kind == MATH_DELIMITER,
RemoveGroupChar = Props.Action & c_oMathMenuAction.RemoveGroupChar && Item.kind == MATH_GROUP_CHARACTER,
RemoveGroupChar = Props.Type == c_oAscMathInterfaceType.GroupChar && Props.Pos == c_oAscMathInterfaceGroupCharPos.None && Item.kind == MATH_GROUP_CHARACTER,
RemoveRadical = Props.Action & c_oMathMenuAction.RemoveRadical && Item.kind == MATH_RADICAL;
......
......@@ -644,6 +644,7 @@ var c_oAscMathInterfaceNaryLimitLocation = {
};
var c_oAscMathInterfaceGroupCharPos = {
None : -1, // Удаление GroupChar
Top : 0,
Bottom : 1
};
......
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