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

(к предыдущей заливке)

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55753 954022d7-b5bf-4e40-9824-e11837661b57
parent e68ef974
......@@ -914,6 +914,8 @@ ParaMath.prototype =
{
// TODO: ParaMath.Set_ParaContentPos
console.log("Set_ParaContentPos");
var Pos = ContentPos.Get(Depth);
this.State.ContentPos = Pos;
......@@ -1007,7 +1009,11 @@ ParaMath.prototype =
{
// TODO: ParaMath.Selection_Remove
console.log("Selection_Remove");
this.bSelectionUse = false;
this.Root.Selection_Remove();
},
Select_All : function(Direction)
{
......
......@@ -76,8 +76,6 @@ CFraction.prototype.old_getCenter = function()
}
CFraction.prototype.draw = function(x, y, pGraphics)
{
console.log("Draw fraction");
if(this.type == BAR_FRACTION || this.type == NO_BAR_FRACTION)
this.drawBarFraction(x, y, pGraphics);
else if(this.type == SKEWED_FRACTION)
......@@ -87,7 +85,6 @@ CFraction.prototype.draw = function(x, y, pGraphics)
}
CFraction.prototype.drawBarFraction = function(x, y, pGraphics)
{
//var ctrPrp = this.getCtrPrp();
var mgCtrPrp = this.mergeCtrTPrp();
var penW = mgCtrPrp.FontSize* 25.4/96 * 0.08;
......
......@@ -6268,8 +6268,8 @@ CMathContent.prototype =
if(this.content[end].typeObj !== MATH_PLACEHOLDER)
this.content[end].Selection_Remove();
this.SelectStartPos = 0;
this.SelectEndPos = 0;
this.SelectStartPos = this.CurPos;
this.SelectEndPos = this.CurPos;
},
getElem: function(nNum)
{
......
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