<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">On 18 Nov 2018, at 11:34, Timothy Bates wrote:</p>
</div>
<div style="white-space:normal"><blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px"><p dir="auto">Thanks twould be great: one often wants the command to look out into the<br>
line for something else to align once an initial assign is aligned. Like<br>
commas too.</p>
</blockquote></div>
<div style="white-space:normal">
<p dir="auto">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"><-</code> as an alignment character, sorry for the wait.</p>
<p dir="auto">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"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">while post = posts.shift
title = post.title
body = post.body
end
</code></pre>
<p dir="auto">Using <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">⌥⌘]</code> in the body will not be confused by the assignment on the first line.</p>
<p dir="auto">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"><code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0" bgcolor="#F7F7F7">post: {
title: "My title",
body: "Some body"
}
</code></pre>
<p dir="auto">Again, using <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">⌥⌘]</code> in the middle works as expected :)</p>
</div>
</div>
</body>
</html>