Commit 7a8686ce authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

11:27, M:M рейнджи в формулах

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@66908 954022d7-b5bf-4e40-9824-e11837661b57
parent 2fcfe477
......@@ -783,7 +783,7 @@
* необходимо чтобы парсить случаи когда используется что-то такое sumnas2:K2 - sumnas2 невалидная ссылка.
* */
var a = arrFR[id];
if( t.cursorPos >= a.cursorePos && t.cursorPos <= a.formulaRangeLength ){
if( t.cursorPos >= a.cursorePos && t.cursorPos <= a.cursorePos + a.formulaRangeLength ){
return {index:a.cursorePos, length: a.formulaRangeLength, range:a.clone(true)};
}
}
......
......@@ -6132,6 +6132,7 @@
ar.type = c_oAscSelectionType.RangeCells;
this._fixSelectionOfMergedCells();
}
this.isFormulaEditMode?this.arrActiveFormulaRanges[this.arrActiveFormulaRanges.length - 1] = new ActiveRange(ar.getAllRange()):null;
};
WorksheetView.prototype._moveActiveCellToOffset = function (dc, dr) {
......
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