diff --git a/cell/view/WorksheetView.js b/cell/view/WorksheetView.js index 3d08dd24dd..4917676ce9 100644 --- a/cell/view/WorksheetView.js +++ b/cell/view/WorksheetView.js @@ -2241,7 +2241,7 @@ c = hasNumber.arrCols[i]; cell = t._getVisibleCell(c, arCopy.r2); if (cell.hasMerged()) { - continue + continue; } text = (new asc_Range(c, arCopy.r1, c, arCopy.r2 - 1)).getName(); val = t.generateAutoCompleteFormula(functionName, text); diff --git a/tests/cell/spreadsheet-calculation/SheetStructureTests.js b/tests/cell/spreadsheet-calculation/SheetStructureTests.js index 237ece86a0..80f4f855d1 100644 --- a/tests/cell/spreadsheet-calculation/SheetStructureTests.js +++ b/tests/cell/spreadsheet-calculation/SheetStructureTests.js @@ -3896,7 +3896,6 @@ $(function () { supposedActiveCell = ws.getCell2("B22"); assert.strictEqual(activeCell.col === supposedActiveCell.bbox.c1 && activeCell.row === supposedActiveCell.bbox.r1, true, "Active cell test. B20:B22(only text in range) autosum"); - debugger /* autocomplete to merge cells */ ws.getRange2("A30:B31").setValue("111"); // C30:D31 merge & center