Skip to content

Instantly share code, notes, and snippets.

@kopepasah
Last active October 22, 2015 07:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kopepasah/0d89e95d3830fdc4095e to your computer and use it in GitHub Desktop.
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 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. |
}); |
|
|
|
|
@kopepasah
Copy link
Author

Please note that his code is not soft wrapped, but rather just an example of how the soft wrap looks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment