<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Great! Thanks Allen!<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 1 Jul 2019, at 12:54 pm, Allan Odgaard <<a href="mailto:mailinglist@textmate.org" class="">mailinglist@textmate.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">


<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8" class="">

<div class="">
<div style="font-family:sans-serif" class=""><div style="white-space:normal" class=""><p dir="auto" class="">On 18 Nov 2018, at 11:34, Timothy Bates wrote:</p>

</div>
<div style="white-space:normal" class=""><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px" class=""><p dir="auto" class="">Thanks twould be great: one often wants the command to look out into the<br class="">
line for something else to align once an initial assign is aligned. Like<br class="">
commas too.</p>
</blockquote></div>
<div style="white-space:normal" class=""><p dir="auto" class="">I didn’t get around to making it advance through the alignment operators, but I just pushed a version which includes <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7" class=""><-</code> as an alignment character, sorry for the wait.</p><p dir="auto" class="">I forget how much I wrote about my reworked Align Assignments, but it has really worked great for me, something I really love is the ability to detect indentation and keep the changes within the current level, for example with something like this:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7" class=""><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7" class="">while post = posts.shift
  title = post.title
  body = post.body
end
</code></pre><p dir="auto" class="">Using <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7" class="">⌥⌘]</code> in the body will not be confused by the assignment on the first line.</p><p dir="auto" class="">Likewise for data structures we may have something like:</p>

<pre style="background-color:#F7F7F7; border-radius:5px 5px 5px 5px; margin-left:15px; margin-right:15px; max-width:90vw; overflow-x:auto; padding:5px" bgcolor="#F7F7F7" class=""><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7" class="">post: {
  title: "My title",
  body: "Some body"
}
</code></pre><p dir="auto" class="">Again, using <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7" class="">⌥⌘]</code> in the middle works as expected :)</p>
</div>
</div>
</div>

<br class="">_______________________________________________<br class="">textmate mailing list<br class=""><a href="mailto:textmate@lists.macromates.com" class="">textmate@lists.macromates.com</a><br class="">https://lists.macromates.com/listinfo/textmate</div></blockquote></div><br class=""></body></html>