Last active
October 22, 2015 07:47
-
-
Save kopepasah/0d89e95d3830fdc4095e to your computer and use it in GitHub Desktop.
Demonstration of soft wrap in TextMate based on a wrap column setting of 80, even thought soft wrap is disabled.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| | |
| | |
// This is a comment that will be wrapped by softwrap (while other code is not | | |
softwrapped) when softwrap is disabled but wrap column is set to 80. | | |
$(function(){ | | |
$( 'example-code-no-wrapped' ).not().ever.().wrapped().no().matter().how().long().the().code().runs(); | |
$( 'example-code-wrapped' | | |
).unnecesarily.wrapped().because().of().a().comment(); // Comment | | |
forces softwrap. | | |
}); | | |
| | |
| | |
| | |
| |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please note that his code is not soft wrapped, but rather just an example of how the soft wrap looks.