Commit d6a63849 authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix formula mode (in cell editor)

parent be4d574e
...@@ -211,6 +211,7 @@ ...@@ -211,6 +211,7 @@
this.r2 = r2; this.r2 = r2;
this.refType1 = referenceType.R; this.refType1 = referenceType.R;
this.refType2 = referenceType.R; this.refType2 = referenceType.R;
this.type = c_oAscSelectionType.RangeCells;
return normalize ? this.normalize() : this; return normalize ? this.normalize() : this;
} }
...@@ -233,6 +234,7 @@ ...@@ -233,6 +234,7 @@
var oRes = new Range(this.c1, this.r1, this.c2, this.r2, normalize); var oRes = new Range(this.c1, this.r1, this.c2, this.r2, normalize);
oRes.refType1 = this.refType1; oRes.refType1 = this.refType1;
oRes.refType2 = this.refType2; oRes.refType2 = this.refType2;
oRes.type = this.type;
return oRes; return oRes;
}; };
......
This diff is collapsed.
This diff is collapsed.
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