Bug 1219010 - Regression: backspacing/deleting lost in mcedit with space-filled tabs
Summary: Regression: backspacing/deleting lost in mcedit with space-filled tabs
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Adam Majer
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-19 14:35 UTC by Rihards Olups
Modified: 2024-02-07 14:25 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rihards Olups 2024-01-19 14:35:04 UTC
Reporting here as https://midnight-commander.org/wiki/NewTicket instructs "Please submit bug reports to your distribution unless you built the very latest version of Midnight Commander yourself".

mcedit configuration:

[ ] Fake half tabs
[ ] Backspace through tabs
[x] Fill tabs with spaces 
Tab spacing: 4

In older versions, this resulted in backspace and delete removing 4 spaces when reasonable. In the latest version, this only removes spaces one by one.

Going from memory, but should be mostly accurate description of the behaviour:
a) [tab][backspace] - 4 spaces are added, all 4 spaces are removed.
b) [tab][tab][backspace] - 8 spaces are added, 4 spaces are removed.
c) [tab][space][backspace] - 5 spaces are added, single space is removed, then scenario a happens.
d) [tab][home][delete] - 4 spaces are added, 4 spaces are deleted.
e) [tab][space][home][delete] - 5 spaces are added, 4 spaces are deleted.
Comment 1 Rihards Olups 2024-01-19 14:35:57 UTC
Missed the current version - mc-4.8.30-1.2.x86_64 from Tumbleweed packages.