Ticket #1481 (closed defect: duplicate)
Backward Kill Word in widgets
| Reported by: | dborca | Owned by: | angel_il |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | mc-core | Version: | |
| Keywords: | Cc: | dborca@…, egmont@… | |
| Blocked By: | Blocking: | ||
| Branch state: | no branch | Votes for changeset: |
Description
The Backward Kill Word does not work correctly in widgets. For example, M-Backspace on "patch.gz" will result in "patch", whereas it should give "patch." <-- note the trailing dot.
Attached patch (against 4.7.0-pre1) fixes this. Maybe :)
Attachments
Change History
comment:5 Changed 16 years ago by egmont
I don't think this patch is correct. It contains "str_isspace (p - 1)" and such, whereas p points to the start of a character, so p-1 might point to the middle of a UTF-8 sequence. You should step backwards by a whole character, not 1 byte.
How about the patch in bug #256?
comment:7 Changed 16 years ago by angel_il
- Milestone changed from 4.7.0-pre3 to 4.7.0-pre4
need check after fix #256
comment:8 Changed 16 years ago by iNode
- Blocked By 256 removed
(In #256) Ok, I close this as duplicate to cleanup roadmap.
comment:9 Changed 16 years ago by angel_il
- Owner set to angel_il
- Status changed from new to accepted
comment:10 Changed 16 years ago by angel_il
- Status changed from accepted to testing
- Resolution set to duplicate
comment:12 Changed 16 years ago by slavazanko
- Version 4.7.0-pre1 deleted
- Milestone 4.7.0-pre4 deleted
comment:13 Changed 8 months ago by zaytsev
- Branch state set to no branch
Closed as duplicate of #256.
