Skip to content

Commit

Permalink
Add commented alternative constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
omaus committed Mar 21, 2023
1 parent 440b213 commit 9b8de2e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/FsSpreadsheet/Ranges/FsRangeColumn.fs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ type FsRangeColumn(rangeAddress) =
member self.Cell(rowIndex,cells) = base.Cell(FsAddress(rowIndex - base.RangeAddress.FirstAddress.RowNumber + 1,1),cells)

member self.FirstCell(cells : FsCellsCollection) =
base.Cell (FsAddress(1,1),cells)
//let firstAddrRow, firstAddrCol = base.RangeAddress.FirstAddress |> fun fa -> fa.RowNumber, fa.ColumnNumber
//base.Cell(FsAddress(firstAddrRow, firstAddrCol), cells)
base.Cell(FsAddress(1, 1), cells)

member self.Cells(cells) = base.Cells(cells)

Expand Down

0 comments on commit 9b8de2e

Please sign in to comment.