Revision history [back]
Rewrap Text just applies to the current line or selection, not the whole file. Reformatting is different and can be done automatically from the Source > Reformatting menu items or using the Editor > Auto-formatting preferences. Reformatting runs pep8, black, or yapf to do the reformatting and it does way more than just rewrapping lines. My sense is you may be looking for reformatting and not just rewrapping.
BTW in your first link above Wing is arguably doing the wrong thing. I wouldn't expect the \ after return like that.
Rewrap Text just applies to the current line or selection, not the whole file. Reformatting is different and can be done automatically from the Source > Reformatting menu items or using the Editor > Auto-formatting preferences. Reformatting runs pep8, black, or yapf to do the reformatting and it does way more than just rewrapping lines. My sense is you may be looking for reformatting and not just rewrapping.
BTW in your first link above Wing is arguably doing the wrong thing. I wouldn't expect the \ after return like line that.
Rewrap Text just applies to the current line or selection, not the whole file. Reformatting is different and can be done automatically from the Source > Reformatting menu items or using the Editor > Auto-formatting preferences. Reformatting runs pep8, black, or yapf to do the reformatting and it does way more than just rewrapping lines. My sense is you may be looking for reformatting and not just rewrapping.
BTW in your first link line above Wing is arguably doing the wrong thing. I wouldn't expect the \ after return line that.