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.
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".
Thanks!
So it's a feature then. I wonder though what's the point of overriding global config for comments by default.
On 9 04 2014, at 20:25, Jacob Carlborg doob@me.com wrote:
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
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 10 Apr 2014, at 0:32, Igor K wrote:
On 9 04 2014, at 20:25, Jacob Carlborg doob@me.com wrote:
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".
Alternatively uncheck the “Enable this item” check box.
I wonder though what's the point of overriding global config for comments by default.
From a previous reply: “Part of the reason for some of the new settings is just to showcase them. I have previously mentioned that wrapping comments is probably not a good default”.
Though I haven’t yet gotten around to addressing it.