[TxMt] Re: How do you force carriage return after 80 characters?

Hans-Jörg Bibiko bibiko at eva.mpg.de
Tue Dec 22 18:30:35 UTC 2009

On 21.12.2009, at 15:27, King, Steven wrote:

> Wow, talk about swatting a fly with a hammer! :-)

Yes, of course ;)

But here's an other approach - a plugin.

Simply double-click at it to install.

- then restart TM and go to Main Menu > Text > …
- you will see a menu item "Auto-Reformat Paragraph"
- click on it for switching it on/off

The plugin listens at any changes of the current doc (the length of the text buffer) and at changes of any Wrap Column settings (including window resizing). If it was triggered a "Reformat Paragraph" will be executed delayed by 1 sec if TM is idle (meaning if no changes are made for 1sec).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: TM_Text_AutoFormatParagraph.tmplugin.zip
Type: application/zip
Size: 16937 bytes
Desc: not available
URL: <http://lists.macromates.com/textmate/attachments/20091222/525dec9d/attachment.zip>
-------------- next part --------------


More information about the textmate mailing list