Clear whitespace from auto-indented blank lines
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
When a blank line is indented with the tab, tab
characters are created on that line. This is good. When
the user hits "enter" on an indented line, the cursor
is indented to the same tab position as the previous
line, which is fine. However, the previous line now has
a bunch of tab characters that were never cleaned up.
This can lead to weird behavior when formatting code
later on those same lines, and, well, it wastes bytes.
Expected behavior: After the user hits "enter" on a
blank line, the cursor is indented appropriately on the
next line, then the tabs/spaces which were generated by
the auto-indent feature are removed. MS VS is an
example of an editor that does this.
Logged In: YES
user_id=609236
this is a feature request too.