Skip to content

Commit bb63c7c

Browse files
committed
Remove dead code
1 parent 685b09a commit bb63c7c

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

src/vs/workbench/services/positronDataExplorer/browser/tableDataDataGridInstance.tsx

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -248,15 +248,6 @@ export class TableDataDataGridInstance extends DataGridInstance {
248248
columnIndices: this._columnLayoutManager.getLayoutIndexes(this.horizontalScrollOffset, this.layoutWidth, OVERSCAN_FACTOR),
249249
rowIndices: this._rowLayoutManager.getLayoutIndexes(this.verticalScrollOffset, this.layoutHeight, OVERSCAN_FACTOR)
250250
});
251-
252-
// // Update the cache.
253-
// await this._tableDataCache.update({
254-
// invalidateCache: InvalidateCacheFlags.Data,
255-
// firstColumnIndex: columnDescriptor.columnIndex,
256-
// screenColumns: this.screenColumns,
257-
// firstRowIndex: rowDescriptor.rowIndex,
258-
// screenRows: this.screenRows
259-
// });
260251
}
261252
}
262253

@@ -275,14 +266,6 @@ export class TableDataDataGridInstance extends DataGridInstance {
275266
columnIndices: this._columnLayoutManager.getLayoutIndexes(this.horizontalScrollOffset, this.layoutWidth, 3),
276267
rowIndices: this._rowLayoutManager.getLayoutIndexes(this.verticalScrollOffset, this.layoutHeight, 3)
277268
});
278-
279-
// await this._tableDataCache.update({
280-
// invalidateCache: invalidateCacheFlags ?? InvalidateCacheFlags.None,
281-
// firstColumnIndex: columnDescriptor.columnIndex,
282-
// screenColumns: this.screenColumns,
283-
// firstRowIndex: rowDescriptor.rowIndex,
284-
// screenRows: this.screenRows
285-
// });
286269
}
287270
}
288271

@@ -792,15 +775,6 @@ export class TableDataDataGridInstance extends DataGridInstance {
792775
columnIndices: this._columnLayoutManager.getLayoutIndexes(this.horizontalScrollOffset, this.layoutWidth, 3),
793776
rowIndices: this._rowLayoutManager.getLayoutIndexes(this.verticalScrollOffset, this.layoutHeight, 3)
794777
});
795-
796-
// // Update the cache.
797-
// await this._tableDataCache.update({
798-
// invalidateCache: InvalidateCacheFlags.Data,
799-
// firstColumnIndex: columnDescriptor.columnIndex,
800-
// screenColumns: this.screenColumns,
801-
// firstRowIndex: rowDescriptor.rowIndex,
802-
// screenRows: this.screenRows
803-
// });
804778
}
805779
}
806780

0 commit comments

Comments
 (0)