Commit 1df85d46 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

fix: Bug 20011 - Низкая производительность редактора, при отмене удаления строк, содержащие формулы

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@49353 954022d7-b5bf-4e40-9824-e11837661b57
parent b2f53207
......@@ -2587,7 +2587,6 @@ function parserFormula( formula, _cellId, _ws ) {
this.ws = _ws;
this.wb = this.ws.workbook
this.value = null;
this.Formula = "";
this.pCurrPos = 0;
this.elemArr = [];
this.outStack = [];
......
......@@ -10,7 +10,7 @@ var g_nAllColIndex = -1;
var History;
var aStandartNumFormats;
var aStandartNumFormatsId;
var start, end, dep, cCharDelimiter = String.fromCharCode(5), arrRecalc = {};
var start, end, dep, cCharDelimiter = String.fromCharCode(5), arrRecalc = {}, lc = 0;
var c_oRangeType =
{
......@@ -1098,12 +1098,16 @@ function getVertexId(sheetId, cellId){
return sheetId + cCharDelimiter + cellId;
}
function lockDraw(wb){
lc++;
wb.isNeedCacheClean = false;
arrRecalc = {};
}
function unLockDraw(wb){
wb.isNeedCacheClean = true;
arrRecalc = {};
lc--;
if( lc == 0 ){
wb.isNeedCacheClean = true;
arrRecalc = {};
}
}
function helpFunction(_wb){
var wb = _wb, dep, sr1, sr2, sr, ws, ar;
......
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