[wingide-users] RFE: Handle whitespace intelligently when joining lines

Pete pfein at pobox.com
Sun Mar 2 08:41:57 MST 2008


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.

-- 
Peter Fein   ||   773-575-0694   ||   pfein at pobox.com
http://www.pobox.com/~pfein/   ||   PGP: 0xCCF6AE6B
irc: pfein at freenode.net   ||   jabber: peter.fein at gmail.com


More information about the wingide-users mailing list