+2

fix wrapping to work correctly

mike bayer 13 years ago updated 13 years ago 1
observe wrapping of standard python parameter specifications in textmate vs sublime2:



Image 127Image 126

sublime is prepending a : in the first case, making a pretty big assumption.  in the second case, it wraps outside of the area of text selected, moves it up a line (?!) and adds a huge whitespace next to it.  (then doesn't maintain the left margin either).

wrapping for programmers is straightforward - the left edge is where the left most edge of the *selected text* is - the right edge is the wrap point.  Don't add random characters in, don't go outside of the selected lines.  Simple, textmate gets it right.