[TxMt] Re: Comments ignore "Soft wrap" settings

Jacob Carlborg doob at me.com
Wed Apr 9 17:25:44 UTC 2014


On 2014-04-09 18:48, Igor K wrote:
> Hey everyone!
>
> I prefer having the wrap column but wrapping the code myself where needed.
> And it works for everything but comments.
>
> https://cloudup.com/c7Xx7a9liFu
>
> No matter where I place those comments they keep wrapping at the wrapping column.
> While usual code goes over the line as it should. It's JavaScript by the way.
>
> In .tm_properties I have
> [ * ]
> softWrap = false
>
> In View menu Soft Wrap's item states "Enable Soft Wrap" so it's turned off for sure.
>
> I have no idea where to dig and why this happens. Not sure if it's a bug or a feature.
>
> Igor.

It's a setting in the Source bundle. Bundles -> Edit Bundles... -> 
Source -> Style Line Comments (this depends on which kind of comments 
the source language uses) -> change "softWrap" to ":false".

-- 
/Jacob Carlborg



More information about the textmate mailing list