[TxMt] Bug in Ruby syntax

Matt Mower matt.mower at gmail.com
Sat Nov 26 00:58:25 UTC 2005


Hi.

When using a construct:

    x = case x
    when expr1
        ...
    when expr2
        ...
    else
        ...
    end

I find that TxMt does not correctly indent after the CR after "case x"
and then de-dents after the first "when" so that:

    x = case x
    when...

becomes:

    x = case x
when expr1

However it correctly indents when not assigning from case so that:

    case x
        when...

becomes:

    case x
    when expr1

Which seems like a bug.

M

--
Matt Mower :: http://matt.blogs.it/



More information about the textmate mailing list