[wingide-users] Released new script: `push-line-to-end`

cool-RR cool-rr at cool-rr.com
Wed Jul 20 13:25:43 MDT 2011


Hey,

I released a new script, `push-line-to-end`:

http://wiki.wingware.com/PushLineToEnd

Here's the description:

Push the current line to the end, aligning it to right border of editor.

This inserts or deletes as many spaces as necessary from the beginning of
the line to make the end of the line exactly coincide with the right border
of the editor. (Whose width can be configured in the TARGET_LINE_LENGTH
constant in the script's module.)

This is useful for creating lines of this style:

    if first_long_condition(foo, foobar) and \
                                      second_long_condition(fubaz, bazbar):

Suggested key combination: Alt-Insert P.


Ram.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/wingide-users/attachments/20110720/b390278e/attachment.html


More information about the wingide-users mailing list