Ticket #1751 (new enhancement)
Indenting should behave EXACTLY like Tab/Backspace
| Reported by: | dborca | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | Future Releases |
| Component: | mcedit | Version: | 4.7.0-pre3 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Branch state: | no branch | Votes for changeset: |
Description
part of #1489
- Indenting should behave EXACTLY like Tab/Backspace? will behave when used on a single, non-selected line.
but Tab/Backspace? on a single, non-selected line work as tab / backspace
tab - insert <tab>, backspace - delete 1 char.
Or what do you mean?
Not if you have the default configuration:
[x] Fake half tabs
[ ] Backspace through tabs
[ ] Fill tabs with spaces
Tab spacing: 8
Step0:
text
Step1: hit Tab
text
Step2: hit Tab
<------>text
Step3: hit Tab
<------> text
Step4: hit Backspace
<------>text
Step5: hit Backspace
text
Change History
comment:2 Changed 16 years ago by ossi
the half-tabs are essentially support for 4-space indents in emacs-like mixed tabs mode. the number 4 is really pretty arbitrary, it just happens to be the most common case.
Note: See
TracTickets for help on using
tickets.

(semi off)
Does anyone have any idea what the fake half tabs is good for? :) I have so far only created badly indented files with it.
If anything, it shouldn't be default. It is recommended that you indent with either only tabs or only spaces, mixing them only leads to trouble.