When I enable soft wrap I get: http://textmate.1073791.n5.nabble.com/file/n28277/enablesoftwrap.png On the other hand, when I disable soft wrap I get: http://textmate.1073791.n5.nabble.com/file/n28277/disablesoftwrap.png I think the behaviour in disabled soft wrap when the line is commented is not correct. What do you think?
-- View this message in context: http://textmate.1073791.n5.nabble.com/Soft-Wrap-in-Commented-Lines-tp28277.h... Sent from the textmate users mailing list archive at Nabble.com.
On 2014-09-25 18:43, svsdiscussion@gmail.com wrote:
When I enable soft wrap I get: http://textmate.1073791.n5.nabble.com/file/n28277/enablesoftwrap.png On the other hand, when I disable soft wrap I get: http://textmate.1073791.n5.nabble.com/file/n28277/disablesoftwrap.png I think the behaviour in disabled soft wrap when the line is commented is not correct. What do you think?
It's a feature, see this [1] for how to disable it.
[1] http://textmate.1073791.n5.nabble.com/Comments-ignore-quot-Soft-wrap-quot-se...
Hi S.V.,
the behaviour you describe is actually intended. The Source bundle contains settings which always activate soft wrap for comments. If you disable “Style: Line Comments - Misc.” you should get the behaviour you expected. For more information on the topic you can take a look at the F.A.Q. https://github.com/textmate/textmate/wiki/FAQ#how-to-disable-soft-wrap .
Kind regards, René
-- View this message in context: http://textmate.1073791.n5.nabble.com/Soft-Wrap-in-Commented-Lines-tp28277p2... Sent from the textmate users mailing list archive at Nabble.com.
It is a strange feature. After making the suggested change the Source Bundle ( softWrap = :false;), the behaviour is just the reverse of the previous one. Now when we enable soft wrap we get http://textmate.1073791.n5.nabble.com/file/n28305/enablesoftwrap.png And when we disable we get http://textmate.1073791.n5.nabble.com/file/n28305/disablesoftwrap.png Actually, I was looking for a consistent behaviour for both commented and uncommented lines.
-- View this message in context: http://textmate.1073791.n5.nabble.com/Soft-Wrap-in-Commented-Lines-tp28277p2... Sent from the textmate users mailing list archive at Nabble.com.
On Wed, Oct 1, 2014 at 6:42 PM, svsdiscussion@gmail.com < svsdiscussion@gmail.com> wrote:
Actually, I was looking for a consistent behaviour for both commented and uncommented lines.
You will need to disable the bundle item by un-checking "Enable this item" in the Bundle Editor.
That solved my problem!
-- View this message in context: http://textmate.1073791.n5.nabble.com/Soft-Wrap-in-Commented-Lines-tp28277p2... Sent from the textmate users mailing list archive at Nabble.com.