Commit 08fb44e
fix(editor): hardcode CaseSensitive in replace skip to fix highlight
Remove Qt::CaseSensitivity from replaceSkip signal to avoid
QueuedConnection enum serialization failure. Hardcode CaseSensitive
directly in handleReplaceSkip for correct case-sensitive highlight.
替换跳过信号不再传递caseFlag枚举参数,避免QueuedConnection
序列化丢失。在handleReplaceSkip中直接使用CaseSensitive,
确保跳过后仅高亮精确匹配的内容。
Log: 修复替换跳过后大小写不敏感的高亮问题
PMS: BUG-358129
Influence: 替换跳过后高亮仅匹配相同大小写的内容,不再误匹配不同大小写的文本。1 parent 3ce1324 commit 08fb44e
5 files changed
Lines changed: 8 additions & 8 deletions
File tree
- src
- controls
- widgets
- tests/src/widgets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3419 | 3419 | | |
3420 | 3420 | | |
3421 | 3421 | | |
3422 | | - | |
| 3422 | + | |
3423 | 3423 | | |
3424 | | - | |
| 3424 | + | |
3425 | 3425 | | |
3426 | | - | |
| 3426 | + | |
3427 | 3427 | | |
3428 | 3428 | | |
3429 | 3429 | | |
3430 | 3430 | | |
3431 | 3431 | | |
3432 | | - | |
| 3432 | + | |
3433 | 3433 | | |
3434 | 3434 | | |
3435 | 3435 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
177 | 177 | | |
178 | 178 | | |
179 | 179 | | |
180 | | - | |
| 180 | + | |
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1502 | 1502 | | |
1503 | 1503 | | |
1504 | 1504 | | |
1505 | | - | |
| 1505 | + | |
1506 | 1506 | | |
1507 | 1507 | | |
1508 | 1508 | | |
| |||
0 commit comments