Ticket #3482 (new defect)

Opened 4 years ago

Last modified 4 years ago

Editor ignore tabs filed with spaces

Reported by: Mihail Zenkov Owned by:
Priority: minor Milestone: Future Releases
Component: mcedit Version: 4.8.14
Keywords: Cc:
Blocked By: Blocking:
Branch state: no branch Votes for changeset:

Description

When "Fake half tabs" set off and "Fill tabs with spaces" set on mcedit ignore tab size: on pressing left/right/delete/backspace it work only for one space but should for four.

Attachments

mc-fix_tabs_with_space.patch (2.6 KB) - added by Mihail Zenkov 4 years ago.

Change History

Changed 4 years ago by Mihail Zenkov

comment:1 Changed 4 years ago by andrew_b

Ok, this patch fixes the mcedit behavior in case of tabs at the start of line. But if tabs with spaces are after last char in line, left/right/delete/backspace work for one space as previously.
Should it be the same behavior for start and finish tabs with spaces?

comment:2 Changed 4 years ago by Mihail Zenkov

Not sure is we should add same behavior for spaces at end/mid of line. In any case it different problem and should (or not) be fixed separately.

Note: See TracTickets for help on using tickets.