[wingide-users] RFE: Handle whitespace intelligently when joining
lines
Michael Hipp
Michael at Hipp.com
Sun Mar 2 09:24:56 MST 2008
Pete wrote:
> It'd be nice if Wing was smarter about stripping leading indentation when
> joining lines.
>
> """a L{Template} for outputting collection objects as HTML
> """
>
> (cursor after 'HTML', hit delete)
>
> """a L{Template} for outputting collection objects as HTML """
> eww! => ^^^^
>
> 95% of the time, stripping the leading whitespace is the right thing to do:
>
> """a L{Template} for outputting collection objects as HTML"""
>
> The current behavior is particularly annoying when joining lines indented
> several layers deep - it's not uncommon to have the joined text scrolled off
> the right edge of screen by a dozen+ spaces.
+1
Note that in Vim mode, the 'J' (join) command behaves perfectly, IMHO. Perhaps
replicate that functionality into 'Normal' mode?
Michael
More information about the wingide-users
mailing list