去除部分调试信息
This commit is contained in:
parent
73a722bd88
commit
0435ad35f1
@ -387,7 +387,6 @@ var accelerator = win.ui.accelerator({
|
|||||||
|
|
||||||
research_flag = true;
|
research_flag = true;
|
||||||
searchNextContent = function(data, firstRow, firstCol, lastRow, lastCol, isRangeSearch, selFirstRow, selFirstCol, searchContent, isCellMatching){
|
searchNextContent = function(data, firstRow, firstCol, lastRow, lastCol, isRangeSearch, selFirstRow, selFirstCol, searchContent, isCellMatching){
|
||||||
console.dump(firstRow, firstCol, lastRow, lastCol, isRangeSearch, selFirstRow, selFirstCol, searchContent);
|
|
||||||
if(isRangeSearch){// 从一个范围开始搜索
|
if(isRangeSearch){// 从一个范围开始搜索
|
||||||
var tempRow = firstRow;
|
var tempRow = firstRow;
|
||||||
var tempCol = firstCol;
|
var tempCol = firstCol;
|
||||||
@ -398,7 +397,6 @@ searchNextContent = function(data, firstRow, firstCol, lastRow, lastCol, isRange
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
for i2,v2 in table.eachIndex(data.fields){
|
for i2,v2 in table.eachIndex(data.fields){
|
||||||
//console.debug("当前搜索行列:", i, i2);
|
|
||||||
if(i2 < firstCol or i2 > lastCol){
|
if(i2 < firstCol or i2 > lastCol){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -436,13 +434,11 @@ searchNextContent = function(data, firstRow, firstCol, lastRow, lastCol, isRange
|
|||||||
research_flag = true;
|
research_flag = true;
|
||||||
}
|
}
|
||||||
else {// 从一个点开始搜索
|
else {// 从一个点开始搜索
|
||||||
//console.dump("从一个点开始搜索");
|
|
||||||
for i,v in table.eachIndex(data){
|
for i,v in table.eachIndex(data){
|
||||||
if(i < firstRow){
|
if(i < firstRow){
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
for i2,v2 in table.eachIndex(data.fields){
|
for i2,v2 in table.eachIndex(data.fields){
|
||||||
//console.debug("当前搜索行列:", i, i2);
|
|
||||||
if(i2 < firstCol){
|
if(i2 < firstCol){
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
@ -467,7 +463,6 @@ searchNextContent = function(data, firstRow, firstCol, lastRow, lastCol, isRange
|
|||||||
// 搜不到了,重头搜索
|
// 搜不到了,重头搜索
|
||||||
if(research_flag){
|
if(research_flag){
|
||||||
research_flag = false;
|
research_flag = false;
|
||||||
//console.dump("搜不到了,重头搜索");
|
|
||||||
row, col = searchNextContent(data, 1, 1, 1, 1, isRangeSearch, selFirstRow, selFirstCol, searchContent, isCellMatching);
|
row, col = searchNextContent(data, 1, 1, 1, 1, isRangeSearch, selFirstRow, selFirstCol, searchContent, isCellMatching);
|
||||||
return row, col;
|
return row, col;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user