Commit 1fcafa5
fix: clear all-match highlights when no matches exist
UpdateHexMatchRanges previously assigned an empty List<HexMatchRange>
when FindAll returned nothing, which the change-tracking and DP
binding occasionally treated as a no-op vs. the prior non-empty list,
leaving stale highlights on screen. Set HexMatchRanges = null
explicitly on no-match. Also clear when the search box is emptied or
the pattern fails to parse during live typing.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 703bbe4 commit 1fcafa5
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1097 | 1097 | | |
1098 | 1098 | | |
1099 | 1099 | | |
| 1100 | + | |
1100 | 1101 | | |
1101 | 1102 | | |
1102 | 1103 | | |
| |||
1106 | 1107 | | |
1107 | 1108 | | |
1108 | 1109 | | |
| 1110 | + | |
1109 | 1111 | | |
1110 | 1112 | | |
1111 | 1113 | | |
| |||
1156 | 1158 | | |
1157 | 1159 | | |
1158 | 1160 | | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
1159 | 1167 | | |
1160 | 1168 | | |
1161 | 1169 | | |
| |||
0 commit comments