* Check if there's an active selection
()
| 207 | * Check if there's an active selection |
| 208 | */ |
| 209 | hasSelection(): boolean { |
| 210 | if (!this.selectionStart || !this.selectionEnd) return false; |
| 211 | |
| 212 | // Check if start and end are the same (single cell, no real selection) |
| 213 | return !( |
| 214 | this.selectionStart.col === this.selectionEnd.col && |
| 215 | this.selectionStart.absoluteRow === this.selectionEnd.absoluteRow |
| 216 | ); |
| 217 | } |
| 218 | |
| 219 | /** |
| 220 | * Clear the selection |
no outgoing calls
no test coverage detected