Set the position-based highlight state. Every frame, writes CURRENT * style at positions[currentIdx] + rowOffset. null clears. The scan- * highlight (inverse on all matches) still runs — this overlays yellow * on top. rowOffset changes as the user scrolls (= message's current * scree
(state: {
positions: MatchPosition[];
rowOffset: number;
currentIdx: number;
} | null)
| 1106 | * on top. rowOffset changes as the user scrolls (= message's current |
| 1107 | * screen-top); positions stay stable (message-relative). */ |
| 1108 | setSearchPositions(state: { |
| 1109 | positions: MatchPosition[]; |
| 1110 | rowOffset: number; |
| 1111 | currentIdx: number; |
| 1112 | } | null): void { |
| 1113 | this.searchPositions = state; |
| 1114 | this.scheduleRender(); |
| 1115 | } |
| 1116 | |
| 1117 | /** |
| 1118 | * Set the selection highlight background color. Replaces the per-cell |
no outgoing calls
no test coverage detected