<div dir="ltr">Hmm. Seems to work for me. With the same input I get<div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0);display:inline">:</div><br><br><font face="courier new, monospace"> foo <- foo<br>
fooFooFoo <- foo<br> fooFoo <- foo<br> fooFooFoo <- foo<br> fooFooFooFoo <- foo</font><br><div><font face="courier new, monospace"><br></font></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0);display:inline">
Are you using a fixed width font?</div><font face="courier new, monospace"><br></font></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;font-size:small;color:rgb(0,0,0);display:inline"><br></div>
</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sat, Nov 9, 2013 at 8:29 AM, Curt Sellmer <span dir="ltr"><<a href="mailto:sellmerfud@gmail.com" target="_blank">sellmerfud@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 dir="ltr"><div class="gmail_default" style="font-size:small;font-family:verdana,sans-serif">Here is a version that I adapted from the command in the align bundle for use with scala.</div>
<div class="gmail_default" style="font-size:small;font-family:verdana,sans-serif">
It aligns on <=, =, ->, and <-</div><div class="gmail_default" style="font-size:small;font-family:verdana,sans-serif"><br></div><div class="gmail_default"><font color="#000000" face="verdana, sans-serif"><a href="https://gist.github.com/sellmerfud/7385988" target="_blank">https://gist.github.com/sellmerfud/7385988</a></font><br>
</div><div class="gmail_default"><font color="#000000" face="verdana, sans-serif"><br></font></div><div class="gmail_default"><font color="#000000" face="verdana, sans-serif"><br></font></div><div class="gmail_default" style="font-size:small;font-family:verdana,sans-serif">
Note that I have not upgraded to Maverics yet. If you have then the shebang line should be updated as mentioned by Tim.</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, Nov 9, 2013 at 4:12 AM, Tim Bates <span dir="ltr"><<a href="mailto:timothy.c.bates@gmail.com" target="_blank">timothy.c.bates@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">it needs an updated pulled.<br>
<br>
Either replace this line<br>
#!/usr/bin/env ruby -W0<br>
<br>
with this<br>
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -wKU<br>
<br>
or install the bundle from<br>
<br>
<a href="https://github.com/tbates/align.tmbundle" target="_blank">https://github.com/tbates/align.tmbundle</a><br>
<div><div><br>
<br>
<br>
On 9 Nov 2013, at 09:10, Ross Ahmed <<a href="mailto:rossahmed@googlemail.com" target="_blank">rossahmed@googlemail.com</a>> wrote:<br>
<br>
> Hi all<br>
><br>
> I recently posted asking how to align code at <- . For example, I would want these two lines of code<br>
><br>
> foo <- test<br>
> fooFooFoo <- test<br>
><br>
> To look like<br>
><br>
> foo <- test<br>
> fooFooFoo <- test<br>
><br>
> Somebody suggestted installing the align bundle and using the keyboard shortcut CMD + CONTROL + 9. I've trice this but unfortunately it doesn't run and throws a message box saying 'Failure running Align Source'.<br>
><br>
> Can anyone come up with a hacky way of aligning code at <- ?<br>
><br>
> Ross<br>
><br>
> _______________________________________________<br>
> textmate mailing list<br>
> <a href="mailto:textmate@lists.macromates.com" target="_blank">textmate@lists.macromates.com</a><br>
> <a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
<br>
<br>
_______________________________________________<br>
textmate mailing list<br>
<a href="mailto:textmate@lists.macromates.com" target="_blank">textmate@lists.macromates.com</a><br>
<a href="http://lists.macromates.com/listinfo/textmate" target="_blank">http://lists.macromates.com/listinfo/textmate</a><br>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>