* Capture text from rows about to scroll out of the viewport during * drag-to-scroll. Must be called BEFORE the ScrollBox scrolls so the * screen buffer still holds the outgoing content. Accumulated into * the selection state and joined back in by getSelectedText.
(firstRow: number, lastRow: number, side: 'above' | 'below')
| 1155 | * the selection state and joined back in by getSelectedText. |
| 1156 | */ |
| 1157 | captureScrolledRows(firstRow: number, lastRow: number, side: 'above' | 'below'): void { |
| 1158 | captureScrolledRows(this.selection, this.frontFrame.screen, firstRow, lastRow, side); |
| 1159 | } |
| 1160 | |
| 1161 | /** |
| 1162 | * Shift anchor AND focus by dRow, clamped to [minRow, maxRow]. Used by |
no test coverage detected