<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>I agree that enabling indented soft wrapping is more difficult than it should be. In other text editors (such as Xcode) it is either on by default or just a single command away, while TextMate requires setting up a custom bundle and defining a regular expression.</div><div><br></div><div>I would like to work on a patch to improve this situation, but I’m not even sure how it should be architected. For example, if a default indentedSoftWrap setting is added to the Text and Source bundles, how can it be turned on and off? Is there some existing setting that works like this?</div><div><br></div><div>Any guidance from the core TextMate devs would be appreciated, thanks!</div><div><br></div><div>Trevor</div><div><div><br></div><div>On Jan 29, 2014, at 2:52 AM, Tom Wardrop <<a href="mailto:tom@tomwardrop.com">tom@tomwardrop.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Perhaps my frustrations comes from the fact that there's not a simple menu item for it. There should be a soft-wrap sub-menu or something with the option to enable indented soft-wrapping. Enabling this global setting (which it should be by default) would apply the common "same indent level + 1" to all bundles. Bundles could then override this with grammar specific soft-wrapping where applicable. I shouldn't have to, with much frustration, Google for an example of soft-wrapping, and then be required to work out how it all works. <div>
<br></div><div>This is a matter of usability more than capability. I want to develop for my application, not for my text editor if I can at all avoid it. It's about having smart defaults (who doesn't prefer indented soft-wrap over ordinary soft-wrapping?) and easily accessible options for the most common toggles. Everything else can be done in the bundle editor.</div>
<div><br></div><div>Is that unreasonable?</div><div><br></div><div>Tom</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 29 January 2014 16:04, Fred ALB <span dir="ltr"><<a href="mailto:fredb7@gmail.com" target="_blank">fredb7@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><br>
On 29 Jan 2014, at 06:02, Tom Wardrop <<a href="mailto:tom@tomwardrop.com">tom@tomwardrop.com</a>> wrote:<br>
<br>
> Please,<br>
><br>
</div>> For the love of god, children and animals, can we please get indented soft wrapping as a standard feature of Textmate 2. (…)<br>
<br>
AFAICT, it’s there for more than two years…<br>
<br>
In the first item in the About box > Changes dated 2011-12-13:<br>
<br>
> Soft wrap can be indented. This is also based on scoped settings so list items in markup are indented differently than line comments in source.<br>
<br>
Google "textmate indentedSoftWrap” or go here: <a href="http://blog.macromates.com/2012/the-layout-engine/" target="_blank">http://blog.macromates.com/2012/the-layout-engine/</a><br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</blockquote></div><br></div>
<br>_______________________________________________<br>textmate mailing list<br><a href="mailto:textmate@lists.macromates.com">textmate@lists.macromates.com</a><br>http://lists.macromates.com/listinfo/textmate</blockquote></div><br></body></html>