Commit 1c0cae2
fix: Add find highlight selection functionality
- Implemented setFindHighlightSelection method in TextEdit to set the current cursor as the highlight selection for find operations.
- Updated Window class to utilize the new method when the current selection matches the search text, enhancing the search experience.
log: Add find highlight selection functionality
bug: https://pms.uniontech.com/bug-view-331021.html1 parent dba598a commit 1c0cae2
3 files changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2237 | 2237 | | |
2238 | 2238 | | |
2239 | 2239 | | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
2240 | 2247 | | |
2241 | 2248 | | |
2242 | 2249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
207 | 208 | | |
208 | 209 | | |
209 | 210 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3310 | 3310 | | |
3311 | 3311 | | |
3312 | 3312 | | |
| 3313 | + | |
| 3314 | + | |
| 3315 | + | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
| 3321 | + | |
| 3322 | + | |
| 3323 | + | |
| 3324 | + | |
| 3325 | + | |
3313 | 3326 | | |
3314 | 3327 | | |
3315 | 3328 | | |
| |||
0 commit comments