Commit ebf6f7e
fix: Optimize mark removal logic in TextEdit and enhance file path handling in Window
- Refactored the mark removal process in TextEdit::updateMark to use QSet and removeIf, improving code clarity and reducing index management issues.
log: Optimize mark removal logic and enhance file path handling
bug: https://pms.uniontech.com/bug-view-331945.html1 parent 8a992fd commit ebf6f7e
1 file changed
Lines changed: 9 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
6503 | 6504 | | |
6504 | 6505 | | |
6505 | 6506 | | |
6506 | | - | |
6507 | | - | |
6508 | | - | |
6509 | | - | |
| 6507 | + | |
| 6508 | + | |
| 6509 | + | |
| 6510 | + | |
| 6511 | + | |
| 6512 | + | |
| 6513 | + | |
| 6514 | + | |
6510 | 6515 | | |
6511 | 6516 | | |
6512 | 6517 | | |
| |||
0 commit comments