[TxMt] Re: Insert hard wraps

Allan Odgaard throw-away-1 at macromates.com
Mon Apr 16 15:13:51 UTC 2007


On 16. Apr 2007, at 15:33, Steve King wrote:

> [...]
> A related question: Is there a way to get TextMate to do this  
> automatically?  [...]

Hard wrap is not a built-in feature. You can fake it by overloading  
space with a macro that reflows the current paragraph, maybe  
conditionally only when TM_COLUMN_NUMBER is above 80 (i.e. use a  
command instead -- there is a scope for paragraphs in text, making it  
possible to have the command take meta.paragraph as input).





More information about the textmate mailing list